mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Make sure status is always an integer
This commit is contained in:
parent
460e20bf77
commit
1e9ea119d2
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ class AuthURLOpener(urllib.FancyURLopener):
|
||||||
|
|
||||||
def processEpisode(dirName, nzbName=None, status=0):
|
def processEpisode(dirName, nzbName=None, status=0):
|
||||||
|
|
||||||
|
status = int(status)
|
||||||
if status > 0:
|
if status > 0:
|
||||||
print "the download failed. nothing to process"
|
print "the download failed. nothing to process"
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue