From 830c76ff1cff856e381d07890cce951c2b167a09 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sun, 16 Aug 2020 19:09:32 +0200 Subject: [PATCH] Fixed name 'queueItem' is not defined --- deemix/app/downloadjob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/downloadjob.py b/deemix/app/downloadjob.py index 36a9b31..0b1bca3 100644 --- a/deemix/app/downloadjob.py +++ b/deemix/app/downloadjob.py @@ -189,7 +189,7 @@ class DownloadJob: downloadImage(image['url'], os.path.join(self.extrasPath, self.playlistPath)+f".{image['ext']}", self.settings['overwriteFile']) # Create M3U8 File if self.settings['createM3U8File']: - filename = settingsRegexPlaylistFile(self.settings['playlistFilenameTemplate'], queueItem, self.settings) or "playlist" + filename = settingsRegexPlaylistFile(self.settings['playlistFilenameTemplate'], self.queueItem, self.settings) or "playlist" with open(os.path.join(self.extrasPath, filename+'.m3u8'), 'wb') as f: for line in playlist: f.write((line + "\n").encode('utf-8'))