mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
exit case for failed download
This commit is contained in:
parent
7891b12db0
commit
6f54bab6bc
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,10 @@ def process(dirName, nzbName=None, status=0):
|
|||
else:
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue