fixed AttributeError when downloading single

This commit is contained in:
RemixDev 2021-12-28 09:11:44 +01:00
parent 0c4db05db1
commit e77791fe69
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def generateTrackItem(dz, link_id, bitrate, trackAPI=None, albumAPI=None):
'title': trackAPI['title'],
'artist': trackAPI['artist']['name'],
'cover': cover,
'explicit': trackAPI.explicit_lyrics,
'explicit': trackAPI['explicit_lyrics'],
'single': {
'trackAPI': trackAPI,
'albumAPI': albumAPI