mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-11 22:29:36 +01:00
last.fm fix
failing if mbid not found
This commit is contained in:
@@ -79,7 +79,7 @@ def getSimilar():
|
||||
try:
|
||||
artist_mbid = artist["mbid"]
|
||||
artist_name = artist["name"]
|
||||
except TypeError:
|
||||
except KeyError:
|
||||
continue
|
||||
|
||||
if not any(artist_mbid in x for x in results):
|
||||
|
||||
Reference in New Issue
Block a user