From 6cfe470dd7d8a5fab9cf3e98fec382e60207bd3a Mon Sep 17 00:00:00 2001 From: Jon Monroe Date: Wed, 13 Feb 2013 20:25:51 -0500 Subject: [PATCH] Added VERSION constant to TorrentToMedia --- TorrentToMedia.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index c11d984c..b7e7009f 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -5,6 +5,8 @@ import autoProcessTV import sys, os, ConfigParser, shutil from subprocess import call +from nzbToMediaEnv import * + def removeEmptyFolders(path): if not os.path.isdir(path): return @@ -26,7 +28,7 @@ def removeEmptyFolders(path): old_stdout = sys.stdout #backup the default stdout 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 "INFO: TorrentToMedia V4.2" +print "INFO: TorrentToMedia %s" % VERSION if len(sys.argv) == 4: ##You can use the following parameters (UTORRENT): ##