1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

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.
This commit is contained in:
JackDandy 2014-05-15 11:27:22 +01:00
parent c1360717fd
commit d04937cb8b

View File

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