From 3e6a97e133814ba154caf834f15706dbddaba924 Mon Sep 17 00:00:00 2001 From: Brian Sheldon Date: Fri, 25 Nov 2022 10:01:04 -0500 Subject: [PATCH] Standardize processing --- core/processor/nzbget.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/processor/nzbget.py b/core/processor/nzbget.py index 735f4ac2..69dff6f9 100644 --- a/core/processor/nzbget.py +++ b/core/processor/nzbget.py @@ -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,