fix edge case
This commit is contained in:
parent
19633ca284
commit
559560c4df
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class Spotify:
|
|||
for artist in a["artists"]:
|
||||
subtitle += " " + artist["name"]
|
||||
url = a["external_urls"]["spotify"]
|
||||
cover = a["images"][0]["url"]
|
||||
cover = a["images"][0]["url"] if a.get("images") else None
|
||||
results.append(
|
||||
SearchResultItem(
|
||||
ItemCategory.Music,
|
||||
|
|
Loading…
Add table
Reference in a new issue