get_library_artists/subscriptions: fix error if artist thumbnail is missing
This commit is contained in:
parent
5ae470e260
commit
9e3fbbfd84
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ def parse_artists(results, uploaded=False):
|
|||
subtitle = get_item_text(data, 1)
|
||||
if subtitle:
|
||||
artist['subscribers'] = subtitle.split(' ')[0]
|
||||
artist['thumbnails'] = nav(data, THUMBNAILS)
|
||||
artist['thumbnails'] = nav(data, THUMBNAILS, True)
|
||||
artists.append(artist)
|
||||
|
||||
return artists
|
||||
|
|
|
|||
Loading…
Reference in a new issue