From f5a3136cfc1fb63ade250a03fe103e99bbbf688a Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Tue, 19 Feb 2013 21:34:37 -0800 Subject: [PATCH] fixed logging of output from autoprtocess --- TorrentToMedia.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index b95d04a4..d947776e 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -333,6 +333,7 @@ else: # Now we pass off to CouchPotato or Sick-Beard # Log this output old_stdout = sys.stdout # Still crude, but we wat to capture this for now +logFile = os.path.join(os.path.dirname(sys.argv[0]), "postprocess.log") log_file = open(logFile,"a+") sys.stdout = log_file if inputCategory == movieCategory: