From 8ef5e3201c2dfbcdd80190691427300dc35428be Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sat, 12 Dec 2020 10:05:42 +0000 Subject: Don't handle BaseException in build scripts --- core/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/SCsub') diff --git a/core/SCsub b/core/SCsub index 78a4395619..45918fb520 100644 --- a/core/SCsub +++ b/core/SCsub @@ -25,7 +25,7 @@ if "SCRIPT_AES256_ENCRYPTION_KEY" in os.environ: txts = "0x" + e[i * 2 : i * 2 + 2] try: int(txts, 16) - except: + except Exception: ec_valid = False txt += txts if not ec_valid: -- cgit v1.2.3