From 96e3d8b451d44a194eda49ea67eac6e156687a86 Mon Sep 17 00:00:00 2001 From: Andre Miller Date: Wed, 21 Jan 2015 19:31:02 +0200 Subject: [PATCH] Replaced print with log.info --- beetsplug/web/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py index cc1666d38..8ff826328 100644 --- a/beetsplug/web/__init__.py +++ b/beetsplug/web/__init__.py @@ -274,7 +274,8 @@ class WebPlugin(BeetsPlugin): app.config['lib'] = lib # Enable CORS if required. if self.config['cors']: - print "Enabling cors" + self._log.info(u'Enabling CORS with origin: {0}', + self.config['cors']) from flask.ext.cors import CORS app.config['CORS_ALLOW_HEADERS'] = "Content-Type" app.config['CORS_RESOURCES'] = {