mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
Quote Params for user script. Fixes #185
Might make this a switchable option if this works.
This commit is contained in:
parent
0cf947a0e4
commit
51fb494496
1 changed files with 3 additions and 3 deletions
|
@ -276,13 +276,13 @@ def external_script(outputDestination):
|
||||||
command = [user_script]
|
command = [user_script]
|
||||||
for param in user_script_param:
|
for param in user_script_param:
|
||||||
if param == "FN":
|
if param == "FN":
|
||||||
command.append(file)
|
command.append('"' + file + '"')
|
||||||
continue
|
continue
|
||||||
elif param == "FP":
|
elif param == "FP":
|
||||||
command.append(filePath)
|
command.append('"' + filePath + '"')
|
||||||
continue
|
continue
|
||||||
elif param == "DN":
|
elif param == "DN":
|
||||||
command.append(dirpath)
|
command.append('"' + dirpath + '"')
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
command.append(param)
|
command.append(param)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue