except * -> Exception (doesnt matter in this context but should do it)

This commit is contained in:
Emily 2021-05-04 13:34:05 +02:00
parent 4acb1adeb4
commit 6d9c0805ac

View File

@ -20,7 +20,7 @@ default_logging_fallback = False
if type(conf_log["level"]) is not int:
try:
conf_log["level"] = getattr(logging, conf_log["level"])
except:
except Exception:
conf_log["level"] = logging.INFO
default_logging_fallback = True