keyword 'globalsettings' in plugin setup.py required to show up on settings page

This commit is contained in:
avollkopf 2023-04-03 20:39:35 +02:00
parent 1357aa2a0e
commit 7d9d010e0c

View file

@ -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: