mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
use consistent env fetching. #531
This commit is contained in:
parent
8a201e2489
commit
6bd687cdbe
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ def main(args, section=None):
|
|||
clientAgent = 'nzbget'
|
||||
result = process(os.environ['NZBPP_DIRECTORY'], inputName=os.environ['NZBPP_NZBNAME'], status=status,
|
||||
clientAgent=clientAgent, download_id=download_id, inputCategory=os.environ['NZBPP_CATEGORY'],
|
||||
failureLink=os.environ.get('NZBPR__DNZB_FAILURE'))
|
||||
failureLink=os.environ['NZBPR__DNZB_FAILURE'])
|
||||
# SABnzbd Pre 0.7.17
|
||||
elif len(args) == nzbtomedia.SABNZB_NO_OF_ARGUMENTS:
|
||||
# SABnzbd argv:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue