Monkey Patched our config class.

Fixed code for enabled check.
Tweaked a few things here and there.
This commit is contained in:
echel0n 2014-04-07 09:11:14 -07:00
commit 0ca0e43752
14 changed files with 72 additions and 82 deletions

View file

@ -15,7 +15,7 @@ class autoProcessComics:
return 1 # failure
# auto-detect correct section
section = config.issubsection(inputCategory, checkenabled=True)[0]
section = ''.join(map(str, config().issubsection(inputCategory, checkenabled=True)))
if not section:
Logger.error(
"MAIN: We were unable to find a processor for category %s that was enabled, please check your autoProcessMedia.cfg file.", inputCategory)