From 54374c87e2466effd1fffba3b51bd226bbb89b74 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Thu, 7 Oct 2021 12:57:39 +0200 Subject: [PATCH] Fix append (not push) on list --- deemix/types/Track.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/types/Track.py b/deemix/types/Track.py index fd66677..7716a78 100644 --- a/deemix/types/Track.py +++ b/deemix/types/Track.py @@ -157,7 +157,7 @@ class Track: if not self.copyright: self.copyright = albumAPI_gw['COPYRIGHT'] if 'GENRES' in trackAPI_gw: for genre in trackAPI_gw['GENRES']: - if genre not in self.album.genre: self.album.genre.push(genre) + if genre not in self.album.genre: self.album.genre.append(genre) self.parseTrack(trackAPI) # Remove unwanted charaters in track name