confighelper: fix bug that ignores enable_debug_logging option

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine committed 2021-02-11 15:14:40 -05:00
1 parent ceaa4911bb
commit ec7936ee97
1 file changed
+1 -1
+1 -1
View File
@@ -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'] = {