Skip to content

Commit 2b3b2ca

Browse files
authored
revert custom_sdkconfig file detection
1 parent 5b43aea commit 2b3b2ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/frameworks/espidf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ def load_custom_sdkconfig_file():
213213
print(f"Error decoding response from {file_entry}: {e}")
214214
return ""
215215

216-
# Treat as local file if explicitly file:// or a non-URL token that isn't a flag
217-
if "file://" in file_entry or ("://" not in file_entry and "=" not in file_entry):
216+
# Handle local files
217+
if "file://" in file_entry:
218218
file_ref = file_entry[7:] if file_entry.startswith("file://") else file_entry
219219

220220
if os.path.isabs(file_ref):

0 commit comments

Comments
 (0)