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