mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Forgot to add initalizer to nzbToMedia.py
Removed the leftover logger settings from our config spec file
This commit is contained in:
parent
57019ec21b
commit
f778741083
2 changed files with 3 additions and 30 deletions
|
@ -202,29 +202,4 @@
|
|||
[passwords]
|
||||
# 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
|
||||
PassWordFile =
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue