mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-15 23:08:41 +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)
|
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…
Add table
Add a link
Reference in a new issue