mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fixes issues with NzbGet exit codes
This commit is contained in:
parent
3a637cc86d
commit
ab00c8a858
7 changed files with 12 additions and 9 deletions
|
@ -305,7 +305,7 @@ def main(args):
|
|||
else:
|
||||
logger.error("A problem was reported in the %s script." % (args[0]))
|
||||
|
||||
sys.exit(result)
|
||||
return result
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv)
|
||||
exit(main(sys.argv))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue