Check failed download handling in fork parameters

Fixes https://github.com/clinton-hall/nzbToMedia/issues/971
This commit is contained in:
Amelandbor 2016-03-21 13:40:38 +01:00
commit a2fc2f95c9

View file

@ -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)