From a2fc2f95c9048b67ec45681343570ead798d053b Mon Sep 17 00:00:00 2001 From: Amelandbor Date: Mon, 21 Mar 2016 13:40:38 +0100 Subject: [PATCH] Check failed download handling in fork parameters Fixes https://github.com/clinton-hall/nzbToMedia/issues/971 --- core/autoProcess/autoProcessTV.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autoProcess/autoProcessTV.py b/core/autoProcess/autoProcessTV.py index 01a5a871..3ce19be4 100644 --- a/core/autoProcess/autoProcessTV.py +++ b/core/autoProcess/autoProcessTV.py @@ -242,7 +242,7 @@ class autoProcessTV: core.FAILED = True if failureLink: reportNzb(failureLink, clientAgent) - if fork in core.SICKBEARD_FAILED: + if 'failed' in fork_params: logger.postprocess("FAILED: The download failed. Sending 'failed' process request to %s branch" % (fork), section) elif section == "NzbDrone": logger.postprocess("FAILED: The download failed. Sending failed download to %s for CDH processing" % (fork), section)