Do not use logger we do not have
This commit is contained in:
parent
f16a70d2e4
commit
9e90654aa2
@ -97,8 +97,6 @@ SPOTIFY_PASSWORD = u''
|
|||||||
# Import user specific settings
|
# Import user specific settings
|
||||||
dotdir = os.path.expanduser(u'~/.mopidy/')
|
dotdir = os.path.expanduser(u'~/.mopidy/')
|
||||||
settings_file = os.path.join(dotdir, u'settings.py')
|
settings_file = os.path.join(dotdir, u'settings.py')
|
||||||
if not os.path.isfile(settings_file):
|
if os.path.isfile(settings_file):
|
||||||
logger.warning(u'Settings not found: %s', settings_file)
|
|
||||||
else:
|
|
||||||
sys.path.insert(0, dotdir)
|
sys.path.insert(0, dotdir)
|
||||||
from settings import *
|
from settings import *
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user