mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
correct status check for nzbdrone. fixes #346
This commit is contained in:
parent
8252ae4042
commit
5905622145
1 changed files with 3 additions and 1 deletions
|
@ -151,7 +151,9 @@ class autoProcessTV:
|
|||
for line in r.iter_lines():
|
||||
if line:
|
||||
logger.postprocess("%s" % (line), section)
|
||||
if "Processing succeeded for" in line: # We set Success based on the last non-empty line in the output.
|
||||
if section == "SickBeard" and "Processing succeeded for" in line:
|
||||
Success = True
|
||||
elif section == "NzbDrone" and "stateChangeTime" in line:
|
||||
Success = True
|
||||
|
||||
if status != 0 and delete_failed and not os.path.dirname(dirName) == dirName:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue