From af8de88259075724a38e388ff898d13a6240e55c Mon Sep 17 00:00:00 2001 From: blocks Date: Mon, 1 Jun 2020 13:37:02 +0000 Subject: [PATCH] Fixed typo when setting album title after APIError --- deemix/app/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/downloader.py b/deemix/app/downloader.py index b3850de..245edc2 100644 --- a/deemix/app/downloader.py +++ b/deemix/app/downloader.py @@ -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']