From db35e3d2def7c2e04a4e85c5e8cb59fbac232905 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 21 Aug 2014 09:07:20 +0930 Subject: [PATCH] show success for NZBDrone with failed download. Fixes #538 --- nzbtomedia/autoProcess/autoProcessTV.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nzbtomedia/autoProcess/autoProcessTV.py b/nzbtomedia/autoProcess/autoProcessTV.py index c8602a56..ebb55922 100644 --- a/nzbtomedia/autoProcess/autoProcessTV.py +++ b/nzbtomedia/autoProcess/autoProcessTV.py @@ -295,6 +295,9 @@ class autoProcessTV: "The number of missing episodes changes from %s to %s and then remained the same for %s minutes. Consider this successful" % (str(start_numMissing), str(current_numMissing), str(wait_for)), section) return [0, "%s: Successfully post-processed %s" % (section, inputName) ] + elif status != 0: + logger.debug("The Failed download has been processed by NZBDrone.", section) + return [0, "%s: Successfully post-processed %s" % (section, inputName) ] else: # The status hasn't changed. we have waited 2 minutes which is more than enough. uTorrent can resume seeding now. logger.warning(