Standardize processing

This commit is contained in:
Labrys of Knossos 2022-11-25 10:01:04 -05:00
commit 3e676f89a5

View file

@ -86,14 +86,11 @@ def process():
status = parse_status()
download_id = parse_download_id()
failure_link = parse_failure_link()
# All checks done, now launching the script.
client_agent = 'nzbget'
return nzb.process(
os.environ['NZBPP_DIRECTORY'],
input_directory=os.environ['NZBPP_DIRECTORY'],
input_name=os.environ['NZBPP_NZBNAME'],
status=status,
client_agent=client_agent,
client_agent='nzbget',
download_id=download_id,
input_category=os.environ['NZBPP_CATEGORY'],
failure_link=failure_link,