mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
Alternative fix for re-enabling plugin issue
This commit is contained in:
parent
89634137b9
commit
933f80c01c
2 changed files with 14 additions and 5 deletions
|
@ -203,6 +203,18 @@ class Component(object):
|
||||||
d.addCallback(on_stop)
|
d.addCallback(on_stop)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
def start(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def stop(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def update(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
||||||
|
|
||||||
class ComponentRegistry(object):
|
class ComponentRegistry(object):
|
||||||
"""
|
"""
|
||||||
The ComponentRegistry holds a list of currently registered
|
The ComponentRegistry holds a list of currently registered
|
||||||
|
|
|
@ -120,9 +120,6 @@ class Core(CorePluginBase):
|
||||||
if p.wait() != 0:
|
if p.wait() != 0:
|
||||||
log.warn("Execute command failed with exit code %d", p.returncode)
|
log.warn("Execute command failed with exit code %d", p.returncode)
|
||||||
|
|
||||||
def update(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def disable(self):
|
def disable(self):
|
||||||
self.config.save()
|
self.config.save()
|
||||||
event_manager = component.get("EventManager")
|
event_manager = component.get("EventManager")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue