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
|
||||
dotdir = os.path.expanduser(u'~/.mopidy/')
|
||||
settings_file = os.path.join(dotdir, u'settings.py')
|
||||
if not os.path.isfile(settings_file):
|
||||
logger.warning(u'Settings not found: %s', settings_file)
|
||||
else:
|
||||
if os.path.isfile(settings_file):
|
||||
sys.path.insert(0, dotdir)
|
||||
from settings import *
|
||||
|
||||
Loading…
Reference in New Issue
Block a user