From 3d97ff2eb4c529abf105dc1531c4eb0fcea1d6e0 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Fri, 1 Feb 2013 18:55:07 -0800 Subject: [PATCH] correct : for if statements --- TorrentToMedia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index fc61638b..0384eb99 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -8,7 +8,7 @@ from os.path import isfile, join print "TorrentToMedia v 4.1" -if len(sys.argv) == 4 +if len(sys.argv) == 4: ##You can use the following parameters (UTORRENT): ## ##%F - Name of downloaded file (for single file torrents) @@ -73,7 +73,7 @@ if Category == Movie_Cat: destination = Movie_dest elif Category == TV_Cat: destination = TV_dest -else; +else: print "INFO: Not assigned a label of either", Movie_Cat, "or", TV_Cat, ". Exiting" sys.exit(-1)