Permalink
Browse files

Added a line to the end of post-processing to denote the success or f…

…ailure of the processing attempt. Makes it easier to see the result in SAB.
  • Loading branch information...
1 parent ea8dde2 commit a32d7de25bc3c271dbc803344e3e03721555e834 @midgetspy committed Apr 13, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 sickbeard/processTV.py
@@ -182,16 +182,21 @@ def processDir (dirName, recurse=False):
except (OSError, IOError), e:
returnStr += logHelper("Warning: unable to remove the folder " + dirName + ": " + str(e), logger.ERROR)
+ returnStr += logHelper("Processing succeeded for "+curFile)
+
else:
returnStr += result
+ returnStr += logHelper("Processing failed for "+curFile)
else:
returnStr += logHelper("Auto processing file: "+curFile)
result = processFile(curFile)
if type(result) == list:
returnStr += result[0]
+ returnStr += logHelper("Processing succeeded for "+curFile)
else:
returnStr += result
+ returnStr += logHelper("Processing failed for "+curFile)
return returnStr

0 comments on commit a32d7de

Please sign in to comment.