diff options
Diffstat (limited to 'tutorius/addon.py')
-rw-r--r-- | tutorius/addon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tutorius/addon.py b/tutorius/addon.py index 30b7a63..6e3d8b9 100644 --- a/tutorius/addon.py +++ b/tutorius/addon.py @@ -28,6 +28,7 @@ __action__ = { "icon" : "hello", "class" : HelloAction, "mandatory_props" : ["text"], + "test" : true, (OPTIONAL) } """ @@ -75,7 +76,7 @@ def list_addons(): global _cache if not _cache: _reload_addons() - return _cache.keys() + return [k for k, v in _cache.items() if 'test' not in v] def get_addon_meta(name): global _cache |