except * -> Exception (doesnt matter in this context but should do it)
This commit is contained in:
parent
4acb1adeb4
commit
6d9c0805ac
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user