File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ def load_custom_sdkconfig_file():
213
213
print (f"Error decoding response from { file_entry } : { e } " )
214
214
return ""
215
215
216
- # Handle local files
217
- if "file://" in file_entry :
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 ) :
218
218
file_ref = file_entry [7 :] if file_entry .startswith ("file://" ) else file_entry
219
219
220
220
if os .path .isabs (file_ref ):
@@ -561,7 +561,7 @@ def populate_idf_env_vars(idf_env):
561
561
os .path .dirname (get_python_exe ()),
562
562
]
563
563
564
- idf_env ["PATH" ] = os .pathsep .join (additional_packages + [ idf_env ["PATH" ]])
564
+ idf_env ["PATH" ] = os .pathsep .join ([ * additional_packages , idf_env ["PATH" ]])
565
565
idf_env ["ESP_ROM_ELF_DIR" ] = platform .get_package_dir ("tool-esp-rom-elfs" )
566
566
567
567
You can’t perform that action at this time.
0 commit comments