From 30b3ad4a9946d4fd24402f5bf568c7ef012f8ea1 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 9 May 2024 19:12:12 +0800 Subject: [PATCH] fix plugin dashboard --- app/core/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/core/plugin.py b/app/core/plugin.py index 1965deef..d8792413 100644 --- a/app/core/plugin.py +++ b/app/core/plugin.py @@ -330,6 +330,8 @@ class PluginManager(metaclass=Singleton): """ dashboards = [] for pid, plugin in self._running_plugins.items(): + if not plugin.get_state(): + continue if hasattr(plugin, "get_dashboard") \ and ObjectUtils.check_method(plugin.get_dashboard): try: