mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -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:
|
||||
command.append(param)
|
||||
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:
|
||||
p = Popen(command)
|
||||
res = p.wait()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue