mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 19:08:40 +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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue