Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/addon.py
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius/addon.py')
-rw-r--r--tutorius/addon.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tutorius/addon.py b/tutorius/addon.py
index 7ac68f7..21ebffa 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