From 1c08564874ca82653ca42637063c01cea07958dc Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sun, 16 Aug 2020 13:58:14 +0200 Subject: [PATCH] Fixed settings 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 dfe8715..36a9b31 100644 --- a/deemix/app/downloadjob.py +++ b/deemix/app/downloadjob.py @@ -367,7 +367,7 @@ class DownloadJob: # Save lyrics in lrc file if self.settings['syncedLyrics'] and track.lyrics['sync']: - if not os.path.isfile(os.path.join(filepath, filename + '.lrc')) or settings['overwriteFile'] in ['y', 't']: + if not os.path.isfile(os.path.join(filepath, filename + '.lrc')) or self.settings['overwriteFile'] in ['y', 't']: with open(os.path.join(filepath, filename + '.lrc'), 'wb') as f: f.write(track.lyrics['sync'].encode('utf-8'))