Skip to content

Commit 104bab8

Browse files
authored
Update penv_setup.py
1 parent 487b0a5 commit 104bab8

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
@@ -274,7 +274,7 @@ def install_esptool(env, platform, python_exe, uv_executable):
274274
timeout=5
275275
)
276276

277-
if result.returncode == 0 and "MATCH" in result.stdout:
277+
if result.returncode == 0 and result.stdout.strip() == "MATCH":
278278
return
279279

280280
except (subprocess.CalledProcessError, subprocess.TimeoutExpired, FileNotFoundError):

0 commit comments

Comments
 (0)