From d2992f9ced759c39eaf106213452935864d8edf1 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 23 Jun 2025 09:31:56 +0800 Subject: [PATCH] fix plugin load --- app/core/plugin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/core/plugin.py b/app/core/plugin.py index 89ed86e9..71949c5a 100644 --- a/app/core/plugin.py +++ b/app/core/plugin.py @@ -268,9 +268,6 @@ class PluginManager(metaclass=Singleton): if name in _loaded_modules: continue if check_module_func(obj): - # 如果指定了pid,需要确保类名匹配 - if pid and name != pid: - continue _loaded_modules.add(name) plugins.append(obj) logger.debug(f"找到符合条件的插件类:{name}")