Fix post-download command for collections

This commit is contained in:
kermit 2020-10-01 11:54:42 +01:00
parent f3754dc51b
commit b73d533c2b

View file

@ -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 = {}