diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-05-17 18:05:48 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-05-17 18:05:48 (GMT) |
commit | d110791309783e6e30df837a81cf8e14e1ac9641 (patch) | |
tree | 75e65909e080cc3ace578c7beb6f0bdae6dc18c1 /plugins/python/liveconv | |
parent | f3e136eab9fd6adcb51988c9f70ca7f35552abc4 (diff) |
Updated the plugin system and its Python documentation.
Diffstat (limited to 'plugins/python/liveconv')
-rw-r--r-- | plugins/python/liveconv/plugin.py | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/plugins/python/liveconv/plugin.py b/plugins/python/liveconv/plugin.py index a1a182e..eadbea0 100644 --- a/plugins/python/liveconv/plugin.py +++ b/plugins/python/liveconv/plugin.py @@ -8,21 +8,18 @@ from .panel import ConvPanel class LiveConverter(PluginModule): """Convert raw values into interpreted values.""" + _name = 'LiveConverter' + _desc = 'Convert raw values into interprered values' + _version = '0.1' + _url = 'https://www.chrysalide.re/' - def __init__(self): - """Initialize the plugin for Chrysalide.""" - - interface = { + _actions = ( ) - 'name' : 'LiveConverter', - 'desc' : 'Convert raw values into interprered values', - 'version' : '0.1', - 'actions' : ( ) - - } + def __init__(self): + """Initialize the plugin for Chrysalide.""" - super(LiveConverter, self).__init__(**interface) + super(LiveConverter, self).__init__() p = ConvPanel() |