From 485ec5dbd820eca33fb4ed6f7648df5026ff830c Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sun, 2 Feb 2014 19:58:53 +1030 Subject: [PATCH] fix logging for userscript. fixes #252 --- TorrentToMedia.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index db44d1ba..81ba53a0 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -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()