From d04937cb8bd09a2ca31ed29a5353eabfdd02dba6 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Thu, 15 May 2014 11:27:22 +0100 Subject: [PATCH] Output success if *all* the many post processing actions are successful, otherwise indicate a problem occurred if one fails. This outcome message is displayed in the SAB history UI and improves on the existing "deleting filex" message that only applies to the last action done during a multiple action batch. --- sickbeard/processTV.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sickbeard/processTV.py b/sickbeard/processTV.py index 12f9306e..faed86a0 100644 --- a/sickbeard/processTV.py +++ b/sickbeard/processTV.py @@ -150,6 +150,11 @@ def processDir(dirName, nzbName=None, process_method=None, force=False, is_prior if processPath != sickbeard.TV_DOWNLOAD_DIR: delete_dir(processPath) + if process_result: + returnStr += logHelper(u"Successfully processed") + else: + returnStr += logHelper(u"Problem(s) during processing", logger.WARNING) + return returnStr