diff --git a/main.py b/main.py index 6a069ebc..3b778a3e 100644 --- a/main.py +++ b/main.py @@ -240,21 +240,23 @@ def execute_script(script_source, is_file, lvgl_obj, return_to_launcher): script_source = f.read() print(f"Thread {thread_id}: starting script") try: - # Compile the script to catch syntax errors with better context - compiled_script = compile(script_source, '