mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-07 00:55:28 +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)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user