fixed AttributeError when downloading single
This commit is contained in:
parent
0c4db05db1
commit
e77791fe69
|
@ -45,7 +45,7 @@ def generateTrackItem(dz, link_id, bitrate, trackAPI=None, albumAPI=None):
|
||||||
'title': trackAPI['title'],
|
'title': trackAPI['title'],
|
||||||
'artist': trackAPI['artist']['name'],
|
'artist': trackAPI['artist']['name'],
|
||||||
'cover': cover,
|
'cover': cover,
|
||||||
'explicit': trackAPI.explicit_lyrics,
|
'explicit': trackAPI['explicit_lyrics'],
|
||||||
'single': {
|
'single': {
|
||||||
'trackAPI': trackAPI,
|
'trackAPI': trackAPI,
|
||||||
'albumAPI': albumAPI
|
'albumAPI': albumAPI
|
||||||
|
|
Loading…
Reference in New Issue