mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 19:40:03 -07:00
Make sure status is always an integer
This commit is contained in:
parent
75d9671199
commit
0480fb515c
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue