mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
append, not truncate
This commit is contained in:
parent
28eee572c7
commit
c2495af755
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from os import listdir
|
|||
from os.path import isfile, join
|
||||
|
||||
old_stdout = sys.stdout #backup the default stdout
|
||||
log_file = open(os.path.join(os.path.dirname(sys.argv[0]), "postprocess.log"),"w+")
|
||||
log_file = open(os.path.join(os.path.dirname(sys.argv[0]), "postprocess.log"),"a+")
|
||||
sys.stdout = log_file #create a local log file, and direct all "print" to the log.
|
||||
print "TorrentToMedia V4.1"
|
||||
if len(sys.argv) == 4:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue