From 88b06ae710652d9b65eb46af9355ecb712619bfb Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Thu, 30 Oct 2025 00:44:50 +0100 Subject: [PATCH] Comment out unused code --- internal_filesystem/lib/mpos/apps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal_filesystem/lib/mpos/apps.py b/internal_filesystem/lib/mpos/apps.py index 0250ff4c..de7819f6 100644 --- a/internal_filesystem/lib/mpos/apps.py +++ b/internal_filesystem/lib/mpos/apps.py @@ -79,6 +79,7 @@ def execute_script(script_source, is_file, cwd=None, classname=None): tb = getattr(e, '__traceback__', None) traceback.print_exception(type(e), e, tb) +""" Unused: # Run the script in a new thread: # TODO: check if the script exists here instead of launching a new thread? def execute_script_new_thread(scriptname, is_file): @@ -104,6 +105,7 @@ def execute_script_new_thread(scriptname, is_file): _thread.start_new_thread(execute_script, (scriptname, is_file)) except Exception as e: print("main.py: execute_script_new_thread(): error starting new thread thread: ", e) +""" def start_app(fullname): mpos.ui.set_foreground_app(fullname)