mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-12 03:17:20 +00:00
Fix pluginmanagerbase using new component module
This commit is contained in:
parent
606b623d73
commit
5945b24476
@ -139,7 +139,7 @@ class PluginManagerBase:
|
|||||||
log.exception(e)
|
log.exception(e)
|
||||||
continue
|
continue
|
||||||
instance.enable()
|
instance.enable()
|
||||||
if self.get_state() == component.COMPONENT_STATE.index("Started"):
|
if self._component_state == "Started":
|
||||||
component.start(instance.plugin.get_component_name())
|
component.start(instance.plugin.get_component_name())
|
||||||
plugin_name = plugin_name.replace("-", " ")
|
plugin_name = plugin_name.replace("-", " ")
|
||||||
self.plugins[plugin_name] = instance
|
self.plugins[plugin_name] = instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user