Forgot to add initalizer to nzbToMedia.py

Removed the leftover logger settings from our config spec file
This commit is contained in:
echel0n 2014-04-12 03:09:47 -07:00
commit f778741083
2 changed files with 3 additions and 30 deletions

View file

@ -203,28 +203,3 @@
# enter the full path to a text file containing passwords to be used for extraction attempts.
# In the passwords file, every password should be on a new line
PassWordFile =
# Logging configuration
[loggers]
keys = root
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = NOTSET
handlers = console
qualname =
[handler_console]
class = StreamHandler
args = (sys.stdout,)
level = INFO
formatter = generic
[formatter_generic]
format = %(asctime)s|%(levelname)-7.7s %(message)s
datefmt = %H:%M:%S

View file

@ -333,10 +333,8 @@ def process(nzbDir, inputName=None, status=0, clientAgent='manual', download_id=
return -1
########################################################################################################################
logger.postprocess("====================") # Seperate old from new log
logger.postprocess("nzbToMedia %s", nzbtomedia.NZBTOMEDIA_VERSION)
logger.postprocess("Loading config from %s", nzbtomedia.CONFIG_FILE)
# Initialize the config
nzbtomedia.initialize()
# Post-Processing Result
result = 0