mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 14:38:15 +01:00
keyword 'globalsettings' in plugin setup.py required to show up on settings page
This commit is contained in:
parent
1357aa2a0e
commit
7d9d010e0c
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue