mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-29 11:06:14 +00:00
Fixed subscriptable issue
This commit is contained in:
parent
f0c3152ffa
commit
4e1485f8d6
|
@ -159,7 +159,7 @@ class Track:
|
||||||
|
|
||||||
# Make sure there is at least one artist
|
# Make sure there is at least one artist
|
||||||
if len(self.artist['Main']) == 0:
|
if len(self.artist['Main']) == 0:
|
||||||
self.artist['Main'] = [self.mainArtist['name']]
|
self.artist['Main'] = [self.mainArtist.name]
|
||||||
|
|
||||||
self.position = trackAPI_gw.get('POSITION')
|
self.position = trackAPI_gw.get('POSITION')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue