From 5c593b2d15716f581ed5fb9948db517be07e9708 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sun, 16 Dec 2012 14:47:40 -0800 Subject: [PATCH] Removed conflict logging Turns out "failed" is passed as a string and then handled by the failed fork branch. Status here is used to determine what the actual state is, since "failed" will always be True. This script now treats the failed branch the same as the autoProcessTV from that branch. --- autoProcessTV.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/autoProcessTV.py b/autoProcessTV.py index bf90dbe0..e7dc8392 100644 --- a/autoProcessTV.py +++ b/autoProcessTV.py @@ -99,11 +99,8 @@ def processEpisode(dirName, nzbName=None, failed=False): if nzbName != None: params['nzbName'] = nzbName params['failed'] = failed - if failed: - if status: - print "The download failed. Sending 'failed' process request to SickBeard's failed branch" - else: - print "The status indicates that downloading succeeded, but the parameter 'failed' is being passed as True" + if status: + print "The download failed. Sending 'failed' process request to SickBeard's failed branch" else: print "The download succeeded. Sending process request to SickBeard's failed branch"