From 9db1425b7065dfdcdfd6a7aa3c46180ee50e4563 Mon Sep 17 00:00:00 2001 From: limon-daohaosisi <2235927772@qq.com> Date: Tue, 4 Nov 2025 10:58:07 +0800 Subject: [PATCH] fix: update folder path logic to use correct module path --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e1b0f1620..8d3e4976f 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ def execute_prestartup_script(): for possible_module in possible_modules: module_path = os.path.join(custom_node_path, possible_module) - if os.path.isfile(module_path) or module_path.endswith(".disabled") or module_path == "__pycache__": + if os.path.isfile(module_path) or possible_module.endswith(".disabled") or possible_module == "__pycache__": continue script_path = os.path.join(module_path, "prestartup_script.py")