#5 fixed error when downloading tracks with no contributors

Closed
uhwot wants to merge 1 commits from uhwot/deemix-py:mainartist-error-fix into main
  1. +1
    -1
      deemix/types/Track.py

+ 1
- 1
deemix/types/Track.py View File

@ -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…
Cancel
Save