From 5945b244766f590c57e515b21ae5f9650c7b438d Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 20 Mar 2010 19:29:36 -0700 Subject: [PATCH] Fix pluginmanagerbase using new component module --- deluge/pluginmanagerbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/pluginmanagerbase.py b/deluge/pluginmanagerbase.py index 35c551d25..b2868b6f5 100644 --- a/deluge/pluginmanagerbase.py +++ b/deluge/pluginmanagerbase.py @@ -139,7 +139,7 @@ class PluginManagerBase: log.exception(e) continue instance.enable() - if self.get_state() == component.COMPONENT_STATE.index("Started"): + if self._component_state == "Started": component.start(instance.plugin.get_component_name()) plugin_name = plugin_name.replace("-", " ") self.plugins[plugin_name] = instance