From c2495af755a2b3cb2094b023598c9f03d67a52f6 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sun, 3 Feb 2013 23:11:46 -0800 Subject: [PATCH] append, not truncate --- TorrentToMedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index ef30fe0e..722c6d97 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -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: