Rename Thread-1 => LibspotifySessionManagerThread

This commit is contained in:
Stein Magnus Jodal 2010-08-20 12:38:33 +02:00
parent 461830924a
commit 5ea3e40594

View File

@ -18,7 +18,7 @@ class LibspotifySessionManager(SpotifySessionManager, threading.Thread):
def __init__(self, username, password, core_queue, output_queue):
SpotifySessionManager.__init__(self, username, password)
threading.Thread.__init__(self)
threading.Thread.__init__(self, name='LibspotifySessionManagerThread')
# Run as a daemon thread, so Mopidy won't wait for this thread to exit
# before Mopidy exits.
self.daemon = True