mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Bypass for manual
This commit is contained in:
parent
f016fd4990
commit
8fdf913a0d
1 changed files with 2 additions and 0 deletions
|
@ -999,6 +999,8 @@ def main(args, section=None):
|
||||||
elif len(args) > 5 and args[5] == 'generic':
|
elif len(args) > 5 and args[5] == 'generic':
|
||||||
logger.info('Script triggered from generic program')
|
logger.info('Script triggered from generic program')
|
||||||
result = process(args[1], input_name=args[2], input_category=args[3], download_id=args[4])
|
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:
|
else:
|
||||||
# Perform Manual Post-Processing
|
# Perform Manual Post-Processing
|
||||||
logger.warning('Invalid number of arguments received from client, Switching to manual run mode ...')
|
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