exit case for failed download

This commit is contained in:
Clinton Hall 2013-03-05 19:19:30 -08:00
commit 6f54bab6bc

View file

@ -97,6 +97,10 @@ def process(dirName, nzbName=None, status=0):
Logger.error("%s has NOT started on HeadPhones for %s. Exiting", command, nzbName)
return 1 # failure
else:
Logger.info("The download failed. Nothing to process")
return 0 # Success (as far as this script is concerned)
if nzbName == "Manual Run":
return 0 # success