🔨 Fix legacy auto_build.py (#26427)

This commit is contained in:
Andrew 2023-11-14 03:27:05 -05:00 committed by GitHub
parent 613b4105a2
commit 31154278b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()