mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
fixed logging of output from autoprtocess
This commit is contained in:
parent
8acc9e030b
commit
f5a3136cfc
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ else:
|
||||||
# Now we pass off to CouchPotato or Sick-Beard
|
# Now we pass off to CouchPotato or Sick-Beard
|
||||||
# Log this output
|
# Log this output
|
||||||
old_stdout = sys.stdout # Still crude, but we wat to capture this for now
|
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+")
|
log_file = open(logFile,"a+")
|
||||||
sys.stdout = log_file
|
sys.stdout = log_file
|
||||||
if inputCategory == movieCategory:
|
if inputCategory == movieCategory:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue