mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
allow escape if generic parameters not set.
This commit is contained in:
parent
5c37f4a79e
commit
fbb8b18c4c
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ def main(args, section=None):
|
|||
result = process(args[1], inputName=args[2], status=args[7], inputCategory=args[5], clientAgent=clientAgent,
|
||||
download_id='', failureLink=''.join(args[8:]))
|
||||
# Generic program
|
||||
elif args[5] == 'generic':
|
||||
elif len(args) > 5 and args[5] == 'generic':
|
||||
logger.info("Script triggered from generic program")
|
||||
result = process(args[1], inputName=args[2], inputCategory=args[3], download_id=args[4])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue