Fix append (not push) on list

This commit is contained in:
RemixDev 2021-10-07 12:57:39 +02:00
parent ce98393683
commit 54374c87e2
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C
1 changed files with 1 additions and 1 deletions

View File

@ -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