mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -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]
|
[passwords]
|
||||||
# enter the full path to a text file containing passwords to be used for extraction attempts.
|
# 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
|
# In the passwords file, every password should be on a new line
|
||||||
PassWordFile =
|
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
|
|
|
@ -333,10 +333,8 @@ def process(nzbDir, inputName=None, status=0, clientAgent='manual', download_id=
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
logger.postprocess("====================") # Seperate old from new log
|
# Initialize the config
|
||||||
logger.postprocess("nzbToMedia %s", nzbtomedia.NZBTOMEDIA_VERSION)
|
nzbtomedia.initialize()
|
||||||
|
|
||||||
logger.postprocess("Loading config from %s", nzbtomedia.CONFIG_FILE)
|
|
||||||
|
|
||||||
# Post-Processing Result
|
# Post-Processing Result
|
||||||
result = 0
|
result = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue