This commit is contained in:
bacon
2024-03-10 16:12:44 +03:00
parent 0c2fc80485
commit 221e97f47f
2 changed files with 0 additions and 3 deletions

View File

@@ -45,9 +45,7 @@ def search(_str: str, _type: str = 'all') -> dict:
}
}
elif type_ == 'album':
artists = ''
if best.artists:
artists = ', '.join(artist.name for artist in best.artists)
for i in best.artists:
artist_id = i.id
artist_name = i.name