Private GIT

Skip to content
Snippets Groups Projects
Commit 6006f0cd authored by Thomas Woolford's avatar Thomas Woolford
Browse files

Make url error return non-zero result code to allow sabznbd to display retry button.

parent f5bae086
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ def processEpisode(dirName, nzbName=None):
urlObj = myOpener.openit(url)
except IOError, e:
print "Unable to open URL: ", str(e)
sys.exit()
sys.exit(1)
result = urlObj.readlines()
for line in result:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment