mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 17:16:07 +01:00
Replaced print with log.info
This commit is contained in:
parent
8ccd385d85
commit
96e3d8b451
1 changed files with 2 additions and 1 deletions
|
|
@ -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'] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue