Added headers to autoProcess* scripts to make logging nicer

This commit is contained in:
echel0n 2014-04-12 06:04:33 -07:00
commit 36df37d45e
5 changed files with 20 additions and 0 deletions

View file

@ -18,6 +18,10 @@ class autoProcessComics:
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
return 1
logger.postprocess("#########################################################")
logger.postprocess("## ..::[%s]::.. :: CATEGORY:[%s]", section, inputCategory)
logger.postprocess("#########################################################")
host = nzbtomedia.CFG[section][inputCategory]["host"]
port = nzbtomedia.CFG[section][inputCategory]["port"]
username = nzbtomedia.CFG[section][inputCategory]["username"]