Skip to content

Commit 24885a3

Browse files
committed
updates the esp32 build
1 parent a311e47 commit 24885a3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

builder/__init__.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,12 @@ def spawn(cmd_, out_to_screen=True, spinner=False, env=None, cmpl=False):
379379
except: # NOQA
380380
break
381381

382-
try:
383-
line = que.get_nowait() # or q.get(timeout=.1)
384-
output_buffer.append(line)
385-
except queue.Empty:
386-
pass
382+
while True:
383+
try:
384+
line = que.get_nowait() # or q.get(timeout=.1)
385+
output_buffer.append(line)
386+
except queue.Empty:
387+
break
387388

388389
if not p.stdout.closed:
389390
p.stdout.close()

0 commit comments

Comments
 (0)