From 7d9d010e0c79d5ae5ae862bff9085dba5ecfb605 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Mon, 3 Apr 2023 20:39:35 +0200 Subject: [PATCH] keyword 'globalsettings' in plugin setup.py required to show up on settings page --- cbpi/controller/plugin_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbpi/controller/plugin_controller.py b/cbpi/controller/plugin_controller.py index 7c24332..b361d89 100644 --- a/cbpi/controller/plugin_controller.py +++ b/cbpi/controller/plugin_controller.py @@ -231,7 +231,7 @@ class PluginController(): for key, module in discovered_plugins.items(): try: meta = metadata(key) - if meta["Name"] != "cbpi4gui": + if meta["Name"] != "cbpi4gui" and meta["Keywords"] == "globalsettings": result.append(dict(label=meta["Name"], value=meta["Name"])) except Exception as e: