From 76587be1a7671a7380616f18768e19c6f9d111c3 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 3 Aug 2009 19:21:53 +0000 Subject: [PATCH] change the pluginmanager component name to Web.PluginManager --- deluge/ui/web/json_api.py | 4 ++-- deluge/ui/web/pluginmanager.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index 6ab6258c0..2ec015597 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -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): """ diff --git a/deluge/ui/web/pluginmanager.py b/deluge/ui/web/pluginmanager.py index c05fb1337..a08f3aa4f 100644 --- a/deluge/ui/web/pluginmanager.py +++ b/deluge/ui/web/pluginmanager.py @@ -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 \ No newline at end of file + pass