mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
configmanager
needs to be imported at a latter stage at least for the gtk frontend.
This commit is contained in:
parent
3b00a7de59
commit
b7bc1fdb1d
@ -40,7 +40,7 @@ import os
|
||||
import logging
|
||||
import inspect
|
||||
import pkg_resources
|
||||
from deluge import configmanager, common, component
|
||||
from deluge import common, component
|
||||
from twisted.internet import defer
|
||||
from twisted.python.log import PythonLoggingObserver
|
||||
|
||||
@ -191,6 +191,7 @@ def tweak_logging_levels():
|
||||
Remember, one rule per line and this WILL override the setting passed from
|
||||
the command line.
|
||||
"""
|
||||
from deluge import configmanager
|
||||
logging_config_file = os.path.join(configmanager.get_config_dir(),
|
||||
'logging.conf')
|
||||
if not os.path.isfile(logging_config_file):
|
||||
|
Loading…
x
Reference in New Issue
Block a user