diff options
author | JCTutorius <charlie@tutorius-dev.(none)> | 2009-11-19 15:40:18 (GMT) |
---|---|---|
committer | JCTutorius <charlie@tutorius-dev.(none)> | 2009-11-19 15:40:18 (GMT) |
commit | d9d397fcc0139ccf940e268972069dad5730b8e8 (patch) | |
tree | 96cf39f2874bdb365b42928bddd8dc2620750aa8 /tutorius | |
parent | dee6412f6beae82952ed0a07fc2bfdfb0cbb3e79 (diff) |
Forget to add addon.py to last commit
Diffstat (limited to 'tutorius')
-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 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 |