From a3498ba5d64e09d1a2755a97708912a9041af7b6 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 4 May 2010 20:59:45 +0200 Subject: [PATCH] Fix kwarg name --- mopidy/backends/libspotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy/backends/libspotify.py b/mopidy/backends/libspotify.py index 0f11fc77..3783d825 100644 --- a/mopidy/backends/libspotify.py +++ b/mopidy/backends/libspotify.py @@ -178,12 +178,12 @@ class LibspotifySessionManager(SpotifySessionManager, threading.Thread): appkey_file = os.path.expanduser(settings.SPOTIFY_LIB_APPKEY) user_agent = 'Mopidy %s' % get_version() - def __init__(self, username, password, core_queue, audio_controller): + def __init__(self, username, password, core_queue, audio_controller_class): SpotifySessionManager.__init__(self, username, password) threading.Thread.__init__(self) self.core_queue = core_queue self.connected = threading.Event() - self.audio = audio_controller() + self.audio = audio_controller_class() self.session = None def run(self):