summaryrefslogtreecommitdiff
path: root/core/SCsub
diff options
context:
space:
mode:
authorMarcus Brummer <mbrlabs7@gmail.com>2021-05-14 14:52:03 +0200
committerMarcus Brummer <mbrlabs7@gmail.com>2021-05-14 14:53:13 +0200
commit7e8e40a38e72877d0dac13efe917628e2c7a9444 (patch)
tree8610e726f75980e5ff53793135b15757ee75a25e /core/SCsub
parent82c4d43726788b64d5ee4c3d744246dedb8b434c (diff)
Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set
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 607daada21..bdf8544840 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -18,7 +18,7 @@ if "SCRIPT_AES256_ENCRYPTION_KEY" in os.environ:
ec_valid = False
else:
txt = ""
- for i in range(len(e) >> 1):
+ for i in range(len(key) >> 1):
if i > 0:
txt += ","
txts = "0x" + key[i * 2 : i * 2 + 2]