change the pluginmanager component name to Web.PluginManager
This commit is contained in:
parent
e496fda499
commit
76587be1a7
|
@ -131,12 +131,12 @@ class JSON(resource.Resource, component.Component):
|
|||
"""
|
||||
d = client.daemon.get_method_list()
|
||||
d.addCallback(on_get_methods)
|
||||
component.get("PluginManager").start()
|
||||
component.get("Web.PluginManager").start()
|
||||
_d.addCallback(on_client_connected)
|
||||
return d
|
||||
|
||||
def _on_client_disconnect(self, *args):
|
||||
component.get("PluginManager").stop()
|
||||
component.get("Web.PluginManager").stop()
|
||||
|
||||
def _exec_local(self, method, params):
|
||||
"""
|
||||
|
|
|
@ -44,7 +44,7 @@ log = logging.getLogger(__name__)
|
|||
|
||||
class PluginManager(PluginManagerBase, Component):
|
||||
def __init__(self):
|
||||
Component.__init__(self, "PluginManager")
|
||||
Component.__init__(self, "Web.PluginManager")
|
||||
self.config = ConfigManager("web.conf")
|
||||
PluginManagerBase.__init__(self, "web.conf", "deluge.plugin.web")
|
||||
|
||||
|
@ -64,4 +64,4 @@ class PluginManager(PluginManagerBase, Component):
|
|||
self.disable_plugins()
|
||||
|
||||
def update(self):
|
||||
pass
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue