Browse Source

Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set

Marcus Brummer 4 years ago
parent
commit
7e8e40a38e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/SCsub

+ 1 - 1
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]