Make sure status is always an integer

This commit is contained in:
clinton-hall 2012-12-01 14:16:33 -08:00 committed by Clinton Hall
parent 75d9671199
commit 0480fb515c

View file

@ -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()