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