Replaced print with log.info

This commit is contained in:
Andre Miller 2015-01-21 19:31:02 +02:00
parent 8ccd385d85
commit 96e3d8b451

View file

@ -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'] = {