mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 03:55:43 +00:00
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
|
||||
component.get("JSON").register_object(self, plugin_name.lower())
|
||||
log.debug("WebPlugin initialized..")
|
||||
|
||||
def enable(self):
|
||||
pass
|
||||
|
||||
def disable(self):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user