fix: no debug config #744

This commit is contained in:
zhayujie
2023-04-04 15:59:56 +08:00
parent f652d592bd
commit 94004b095b

View File

@@ -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")