mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
|
||||
component.get("JSON").register_object(self, plugin_name.lower())
|
||||
log.debug("WebPlugin initialized..")
|
||||
|
||||
def enable(self):
|
||||
pass
|
||||
|
||||
def disable(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue