Skip to content

Commit b43e632

Browse files
ivankravetsssilverman
authored andcommitted
Use GetProjectOption
1 parent 15e1dda commit b43e632

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130

131131
if build_core == "teensy4":
132132
# Get the key and default to an empty string
133-
custom_secure_key = env.GetProjectConfig().get("env:" + env["PIOENV"], "custom_secure_key", "")
133+
custom_secure_key = env.GetProjectOption("custom_secure_key", "")
134134
if custom_secure_key:
135135
encrypt_message = f"Encrypting $TARGET with key at {custom_secure_key}"
136136
else:

0 commit comments

Comments
 (0)