From b73d533c2b6b5ed18f1ce48ce9a6efe71a2100fc Mon Sep 17 00:00:00 2001 From: kermit Date: Thu, 1 Oct 2020 11:54:42 +0100 Subject: [PATCH] Fix post-download command for collections --- 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 4d948c0..3c501c7 100644 --- a/deemix/app/downloadjob.py +++ b/deemix/app/downloadjob.py @@ -211,7 +211,7 @@ class DownloadJob: f.write((line + "\n").encode('utf-8')) # Execute command after download if self.settings['executeCommand'] != "": - execute(self.settings['executeCommand'].replace("%folder%", self.extrasPath)) + execute(self.settings['executeCommand'].replace("%folder%", str(self.extrasPath))) def download(self, trackAPI_gw, track=None): result = {}