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