From e77791fe69c992015f0644d838286ec5d6e9f1a2 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 28 Dec 2021 09:11:44 +0100 Subject: [PATCH] fixed AttributeError when downloading single --- deemix/itemgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/itemgen.py b/deemix/itemgen.py index 5b3b715..412c63b 100644 --- a/deemix/itemgen.py +++ b/deemix/itemgen.py @@ -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