From d83d33aece9559f0c82b76e936e4ff478ee067e2 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 8 Apr 2013 10:01:24 +0200 Subject: [PATCH] scrobbler: Update to use 'scrobbler' config values --- mopidy/frontends/scrobbler/actor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy/frontends/scrobbler/actor.py b/mopidy/frontends/scrobbler/actor.py index 469df17a..1809661a 100644 --- a/mopidy/frontends/scrobbler/actor.py +++ b/mopidy/frontends/scrobbler/actor.py @@ -30,8 +30,8 @@ class ScrobblerFrontend(pykka.ThreadingActor, CoreListener): try: self.lastfm = pylast.LastFMNetwork( api_key=API_KEY, api_secret=API_SECRET, - username=self.config['lastfm']['username'], - password_hash=pylast.md5(self.config['lastfm']['password'])) + username=self.config['scrobbler']['username'], + password_hash=pylast.md5(self.config['scrobbler']['password'])) logger.info('Connected to Last.fm') except (pylast.NetworkError, pylast.MalformedResponseError, pylast.WSError) as e: