summaryrefslogtreecommitdiff
path: root/core/SCsub
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-12 10:05:42 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-12 10:05:42 +0000
commit8ef5e3201c2dfbcdd80190691427300dc35428be (patch)
tree7506b771c84ae2c4015ae735d4d82855b3048101 /core/SCsub
parentd62dcb6b015918a6ddbba2e17f6d698f0ac6850e (diff)
Don't handle BaseException in build scripts
Diffstat (limited to 'core/SCsub')
-rw-r--r--core/SCsub2
1 files changed, 1 insertions, 1 deletions
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: