From 6d9c0805ac4eeddee1e169fa345e6c4088208394 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Tue, 4 May 2021 13:34:05 +0200 Subject: [PATCH] except * -> Exception (doesnt matter in this context but should do it) --- sampy/shared/glob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sampy/shared/glob.py b/sampy/shared/glob.py index f2ffad7..413240f 100644 --- a/sampy/shared/glob.py +++ b/sampy/shared/glob.py @@ -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