From 93313b19f7edf033aa70d483600b6da492a8db4f Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sun, 20 Jan 2013 22:18:30 -0800 Subject: [PATCH] correct syntaxt for if statement --- autoProcessTV.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcessTV.py b/autoProcessTV.py index 5f924af4..047fbfcc 100644 --- a/autoProcessTV.py +++ b/autoProcessTV.py @@ -86,7 +86,7 @@ def processEpisode(dirName, nzbName=None, failed=False): failed_fork = 0 #allows manual call of postprocess script if we have specified a watch_dir. Check that here. - if nzbName = "Manual Run" and watch_dir == "" + if nzbName = "Manual Run" and watch_dir == "": print "ERROR: In order to run this script manually you must specify a watch_dir in autoProcessTV.cfg" sys.exit(-1) #allows us to specify the default watch directory and call the postproecssing on another PC with different directory structure.