diff --git a/buildroot/share/vscode/auto_build.py b/buildroot/share/vscode/auto_build.py index 25bd79cc7c..80b8b2e6c1 100644 --- a/buildroot/share/vscode/auto_build.py +++ b/buildroot/share/vscode/auto_build.py @@ -1103,7 +1103,7 @@ class output_window(Text): else: try: 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 else: self.insert('end', temp_text[0], temp_text[1]) @@ -1267,6 +1267,7 @@ def main(): global build_type global target_env global board_name + global Marlin_ver board_name, Marlin_ver = get_board_name()