Fixed logging for TV processing

This commit is contained in:
echel0n 2014-04-19 09:15:13 -07:00
commit 119d1e72e3

View file

@ -168,7 +168,7 @@ class autoProcessTV:
return 1 # failure return 1 # failure
for line in r.iter_lines(): for line in r.iter_lines():
if line: logger.postprocess("%s" % (line)) if line: logger.postprocess("%s" % (line), section)
if status != 0 and delete_failed and not os.path.dirname(dirName) == dirName: if status != 0 and delete_failed and not os.path.dirname(dirName) == dirName:
logger.postprocess("Deleting failed files and folder %s" % (dirName),section) logger.postprocess("Deleting failed files and folder %s" % (dirName),section)