mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 22:48:16 +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():
|
for key, module in discovered_plugins.items():
|
||||||
try:
|
try:
|
||||||
meta = metadata(key)
|
meta = metadata(key)
|
||||||
if meta["Name"] != "cbpi4gui":
|
if meta["Name"] != "cbpi4gui" and meta["Keywords"] == "globalsettings":
|
||||||
result.append(dict(label=meta["Name"], value=meta["Name"]))
|
result.append(dict(label=meta["Name"], value=meta["Name"]))
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Reference in a new issue