mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Streamline core.processor.nzbget.parse_failure_link
This commit is contained in:
parent
39919f59d0
commit
1eafb25ced
1 changed files with 2 additions and 4 deletions
|
@ -25,10 +25,8 @@ def parse_download_id():
|
|||
|
||||
|
||||
def parse_failure_link():
|
||||
failure_link = None
|
||||
if 'NZBPR__DNZB_FAILURE' in os.environ:
|
||||
failure_link = os.environ['NZBPR__DNZB_FAILURE']
|
||||
return failure_link
|
||||
"""Parse nzbget failure_link from environment."""
|
||||
return os.environ.get('NZBPR__DNZB_FAILURE')
|
||||
|
||||
|
||||
def parse_status():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue