mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Another fix for NzbGet exit status
This commit is contained in:
parent
1b9e5ffc7a
commit
b6c1967ee7
1 changed files with 0 additions and 8 deletions
|
@ -132,12 +132,4 @@ import nzbtomedia
|
|||
|
||||
section = "SickBeard"
|
||||
result = nzbToMedia.main(sys.argv, section)
|
||||
|
||||
if result == 0:
|
||||
if os.environ.has_key('NZBOP_SCRIPTDIR'): # return code for nzbget v11
|
||||
sys.exit(nzbtomedia.NZBGET_POSTPROCESS_SUCCESS)
|
||||
else:
|
||||
if os.environ.has_key('NZBOP_SCRIPTDIR'): # return code for nzbget v11
|
||||
sys.exit(nzbtomedia.NZBGET_POSTPROCESS_ERROR)
|
||||
|
||||
sys.exit(result)
|
Loading…
Add table
Add a link
Reference in a new issue