mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-29 19:18:28 -07:00
fix logging for userscript. fixes #252
This commit is contained in:
parent
c69af5b151
commit
485ec5dbd8
1 changed files with 4 additions and 1 deletions
|
@ -345,7 +345,10 @@ def external_script(outputDestination):
|
||||||
else:
|
else:
|
||||||
command.append(param)
|
command.append(param)
|
||||||
continue
|
continue
|
||||||
Logger.info("Running script %s on file %s.", command, filePath)
|
cmd = ""
|
||||||
|
for item in command:
|
||||||
|
cmd = cmd + " " + item
|
||||||
|
Logger.info("Running script %s on file %s.", cmd, filePath)
|
||||||
try:
|
try:
|
||||||
p = Popen(command)
|
p = Popen(command)
|
||||||
res = p.wait()
|
res = p.wait()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue