Do not use logger we do not have

This commit is contained in:
Stein Magnus Jodal 2010-03-23 01:04:44 +01:00
parent f16a70d2e4
commit 9e90654aa2

View File

@ -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 *