mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Bypass for manual execution (#1788)
* no_status_check prevents additional checks. #1192 #1778
This commit is contained in:
parent
de81037d15
commit
bf05f1b4e7
6 changed files with 17 additions and 5 deletions
|
@ -999,6 +999,8 @@ def main(args, section=None):
|
|||
elif len(args) > 5 and args[5] == 'generic':
|
||||
logger.info('Script triggered from generic program')
|
||||
result = process(args[1], input_name=args[2], input_category=args[3], download_id=args[4])
|
||||
elif core.NZB_NO_MANUAL:
|
||||
logger.warning('Invalid number of arguments received from client, and no_manual set')
|
||||
else:
|
||||
# Perform Manual Post-Processing
|
||||
logger.warning('Invalid number of arguments received from client, Switching to manual run mode ...')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue