Browse Source

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.
tags/release_0.1.0
JackDandy 11 years ago
parent
commit
d04937cb8b
  1. 5
      sickbeard/processTV.py

5
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

Loading…
Cancel
Save