From 0480fb515c0bd9b3154572569a8c9ae2140cb01d Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sat, 1 Dec 2012 14:16:33 -0800 Subject: [PATCH] Make sure status is always an integer --- autoProcessTV.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autoProcessTV.py b/autoProcessTV.py index b42ffd58..acfca15a 100644 --- a/autoProcessTV.py +++ b/autoProcessTV.py @@ -43,6 +43,7 @@ class AuthURLOpener(urllib.FancyURLopener): def processEpisode(dirName, nzbName=None, status=0): + status = int(status) if status > 0: print "the download failed. nothing to process" sys.exit()