confighelper: fix bug that ignores `enable_debug_logging` option
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
ceaa4911bb
commit
ec7936ee97
|
@ -102,7 +102,7 @@ def get_configuration(server, system_args):
|
|||
except KeyError:
|
||||
raise ConfigError("No section [server] in config")
|
||||
|
||||
if server_cfg.get('enable_debug_logging', True):
|
||||
if server_cfg.getboolean('enable_debug_logging', True):
|
||||
logging.getLogger().setLevel(logging.DEBUG)
|
||||
|
||||
config['system_args'] = {
|
||||
|
|
Loading…
Reference in New Issue