Don't run mb artist lookup if artist == None

This commit is contained in:
rembo10
2012-08-18 01:56:32 +05:30
parent 8e3a86c5a2
commit 7c2345ee2a

View File

@@ -40,6 +40,9 @@ def is_exists(artistid):
def artistlist_to_mbids(artistlist, forced=False):
for artist in artistlist:
if not artist:
continue
results = mb.findArtist(artist, limit=1)