Fix post-download command for collections
This commit is contained in:
parent
f3754dc51b
commit
b73d533c2b
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in New Issue