mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix pluginmanagerbase using new component module
This commit is contained in:
parent
606b623d73
commit
5945b24476
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue