Skip to content

Commit a808cff

Browse files
committed
fixes build error for esp32
1 parent 61d4dc5 commit a808cff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/esp32.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,13 +1053,13 @@ def compile(*args): # NOQA
10531053
python_path,
10541054
'-c "import esptool;print(esptool.__file__);"'
10551055
]],
1056-
out_to_screen=True
1056+
out_to_screen=False
10571057
)
10581058

10591059
if result != 0:
10601060
raise RuntimeError('ERROR collecting esptool path')
10611061

1062-
tool_path = os.path.split(os.path.split(tool_path.strip())[0])
1062+
tool_path = os.path.split(os.path.split(tool_path.strip())[0])[0]
10631063
sys.path.insert(0, tool_path)
10641064

10651065
import esptool

0 commit comments

Comments
 (0)