Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set

(cherry picked from commit 7e8e40a38e72877d0dac13efe917628e2c7a9444)
This commit is contained in:
Marcus Brummer 2021-05-14 14:52:03 +02:00 committed by Rémi Verschelde
parent 50f4c90205
commit 74174676b8
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -20,7 +20,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]