Change wording of Spotify's 'no error' error so it makes sense without a preceeding error message

This commit is contained in:
Stein Magnus Jodal 2011-06-13 16:51:02 +02:00
parent cd5886cc7a
commit 174e008268

View File

@ -78,7 +78,7 @@ class SpotifySessionManager(BaseThread, PyspotifySessionManager):
def connection_error(self, session, error):
"""Callback used by pyspotify"""
if error is None:
logger.info(u'Spotify connection error resolved')
logger.info(u'Spotify connection OK')
else:
logger.error(u'Spotify connection error: %s', error)
self.backend.playback.pause()