From 94004b095b176ae8072b055a50ebb668b36efb7b Mon Sep 17 00:00:00 2001 From: zhayujie Date: Tue, 4 Apr 2023 15:59:56 +0800 Subject: [PATCH] fix: no debug config #744 --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index a81741e..8c988b1 100644 --- a/config.py +++ b/config.py @@ -140,7 +140,7 @@ def load_config(): else: config[name] = value - if config["debug"]: + if config.get("debug", False): logger.setLevel(logging.DEBUG) logger.debug("[INIT] set log level to DEBUG")