Merge pull request #990 from Amelandbor/patch-1

Check failed download handling in fork parameters
This commit is contained in:
Clinton Hall 2016-03-22 07:05:16 +10:30
commit 9e741b9b48

View file

@ -242,7 +242,7 @@ class autoProcessTV:
core.FAILED = True core.FAILED = True
if failureLink: if failureLink:
reportNzb(failureLink, clientAgent) 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) logger.postprocess("FAILED: The download failed. Sending 'failed' process request to %s branch" % (fork), section)
elif section == "NzbDrone": elif section == "NzbDrone":
logger.postprocess("FAILED: The download failed. Sending failed download to %s for CDH processing" % (fork), section) logger.postprocess("FAILED: The download failed. Sending failed download to %s for CDH processing" % (fork), section)