mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -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]
|
||||
for param in user_script_param:
|
||||
if param == "FN":
|
||||
command.append(file)
|
||||
command.append('"' + file + '"')
|
||||
continue
|
||||
elif param == "FP":
|
||||
command.append(filePath)
|
||||
command.append('"' + filePath + '"')
|
||||
continue
|
||||
elif param == "DN":
|
||||
command.append(dirpath)
|
||||
command.append('"' + dirpath + '"')
|
||||
continue
|
||||
else:
|
||||
command.append(param)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue