Browse Source

fix: no debug config #744

master
zhayujie 1 year ago
parent
commit
94004b095b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config.py

+ 1
- 1
config.py View File

@@ -140,7 +140,7 @@ def load_config():
else: else:
config[name] = value config[name] = value


if config["debug"]:
if config.get("debug", False):
logger.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG)
logger.debug("[INIT] set log level to DEBUG") logger.debug("[INIT] set log level to DEBUG")




Loading…
Cancel
Save