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:
|
if type(conf_log["level"]) is not int:
|
||||||
try:
|
try:
|
||||||
conf_log["level"] = getattr(logging, conf_log["level"])
|
conf_log["level"] = getattr(logging, conf_log["level"])
|
||||||
except:
|
except Exception:
|
||||||
conf_log["level"] = logging.INFO
|
conf_log["level"] = logging.INFO
|
||||||
default_logging_fallback = True
|
default_logging_fallback = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user