Fixed typo when setting album title after APIError
This commit is contained in:
parent
a62b95dd76
commit
af8de88259
|
@ -293,7 +293,7 @@ def getTrackData(dz, trackAPI_gw, trackAPI=None, albumAPI_gw=None, albumAPI=None
|
|||
if not albumAPI_gw:
|
||||
logger.info(f"[{track['mainArtist']['name']} - {track['title']}] Getting more album infos")
|
||||
albumAPI_gw = dz.get_album_gw(track['album']['id'])
|
||||
track['album']['title'] = get_album_gw['ALB_TITLE']
|
||||
track['album']['title'] = albumAPI_gw['ALB_TITLE']
|
||||
track['album']['mainArtist'] = {
|
||||
'id': albumAPI_gw['ART_ID'],
|
||||
'name': albumAPI_gw['ART_NAME']
|
||||
|
|
Loading…
Reference in New Issue