🔨 Fix legacy auto_build.py (#26427)
This commit is contained in:
parent
613b4105a2
commit
31154278b3
|
@ -1103,7 +1103,7 @@ class output_window(Text):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
temp_text = IO_queue.get(block=False)
|
temp_text = IO_queue.get(block=False)
|
||||||
except Queue.Empty:
|
except queue.Empty:
|
||||||
continue_updates = False # queue is exhausted so no need for further updates
|
continue_updates = False # queue is exhausted so no need for further updates
|
||||||
else:
|
else:
|
||||||
self.insert('end', temp_text[0], temp_text[1])
|
self.insert('end', temp_text[0], temp_text[1])
|
||||||
|
@ -1267,6 +1267,7 @@ def main():
|
||||||
global build_type
|
global build_type
|
||||||
global target_env
|
global target_env
|
||||||
global board_name
|
global board_name
|
||||||
|
global Marlin_ver
|
||||||
|
|
||||||
board_name, Marlin_ver = get_board_name()
|
board_name, Marlin_ver = get_board_name()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue