Fix post-download command for collections

This commit is contained in:
kermit 2020-10-01 11:54:42 +01:00
parent f3754dc51b
commit b73d533c2b
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class DownloadJob:
f.write((line + "\n").encode('utf-8')) f.write((line + "\n").encode('utf-8'))
# Execute command after download # Execute command after download
if self.settings['executeCommand'] != "": 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): def download(self, trackAPI_gw, track=None):
result = {} result = {}