]> kaliko git repositories - mpd-sima.git/commitdiff
Fixed code smell in webserv/find_top
authorkaliko <kaliko@azylum.org>
Sat, 16 May 2020 09:55:01 +0000 (11:55 +0200)
committerkaliko <kaliko@azylum.org>
Sat, 16 May 2020 09:55:01 +0000 (11:55 +0200)
sima/lib/webserv.py

index 734a5f0b40a39b4e895ebc277f2a73691265aaab..078f61d158bfb302ad5d8eb0aceab0239c24303c 100644 (file)
@@ -370,6 +370,7 @@ class WebService(Plugin):
                 titles = [t for t in self.ws.get_toptrack(artist)]
             except WSError as err:
                 self.log.warning('%s: %s', self.ws.name, err)
+                continue
             for trk in titles:
                 found = self.player.search_track(artist, trk.title)
                 if found: