mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 08:35:32 +01:00
Don't run mb artist lookup if artist == None
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user