mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Streamline core.processor.nzbget._parse_unpack_status
This commit is contained in:
parent
dcf1a6d172
commit
374bf34920
1 changed files with 2 additions and 3 deletions
|
@ -48,11 +48,10 @@ def _parse_par_status():
|
||||||
|
|
||||||
|
|
||||||
def _parse_unpack_status():
|
def _parse_unpack_status():
|
||||||
status = 0
|
|
||||||
if os.environ['NZBPP_UNPACKSTATUS'] == '1':
|
if os.environ['NZBPP_UNPACKSTATUS'] == '1':
|
||||||
logger.warning('Unpack failed, setting status \'failed\'')
|
logger.warning('Unpack failed, setting status \'failed\'')
|
||||||
status = 1
|
return 1
|
||||||
return status
|
return 0
|
||||||
|
|
||||||
|
|
||||||
def _parse_health_status():
|
def _parse_health_status():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue