Fix append (not push) on list
This commit is contained in:
parent
ce98393683
commit
54374c87e2
|
@ -157,7 +157,7 @@ class Track:
|
||||||
if not self.copyright: self.copyright = albumAPI_gw['COPYRIGHT']
|
if not self.copyright: self.copyright = albumAPI_gw['COPYRIGHT']
|
||||||
if 'GENRES' in trackAPI_gw:
|
if 'GENRES' in trackAPI_gw:
|
||||||
for genre in trackAPI_gw['GENRES']:
|
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)
|
self.parseTrack(trackAPI)
|
||||||
|
|
||||||
# Remove unwanted charaters in track name
|
# Remove unwanted charaters in track name
|
||||||
|
|
Loading…
Reference in New Issue