Skip to content

Commit b4c7735

Browse files
authored
Modify esptool path check to return None
1 parent 99c086e commit b4c7735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/penv_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def _install_esptool_from_tl_install(platform, python_exe, uv_executable):
562562
# Get esptool path from tool-esptoolpy package (provided by tl-install)
563563
esptool_repo_path = platform.get_package_dir("tool-esptoolpy") or ""
564564
if not esptool_repo_path or not os.path.isdir(esptool_repo_path):
565-
return
565+
return (None, None)
566566

567567
# Check if esptool is already installed from the correct path
568568
try:

0 commit comments

Comments
 (0)