change WebPluginBase so it has empty enable/disable methods (web plugins don't need to enable/disable themselves, it's optional)
This commit is contained in:
parent
e7095195f7
commit
63b02f28d1
|
@ -69,3 +69,9 @@ class WebPluginBase(PluginBase):
|
||||||
# Register JSON rpc methods
|
# Register JSON rpc methods
|
||||||
component.get("JSON").register_object(self, plugin_name.lower())
|
component.get("JSON").register_object(self, plugin_name.lower())
|
||||||
log.debug("WebPlugin initialized..")
|
log.debug("WebPlugin initialized..")
|
||||||
|
|
||||||
|
def enable(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def disable(self):
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue