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