last.fm fix

failing if mbid not found
This commit is contained in:
Ade
2015-08-21 19:23:56 +12:00
parent 7fd895ecb5
commit 8c94c9ecbf

View File

@@ -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):