mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Fix starting plugins when the pluginmanager is started
This commit is contained in:
parent
566d3c5ebf
commit
b77e846744
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
|
|||
"""Start the plugin manager"""
|
||||
# Update the enabled_plugins from the core
|
||||
client.core.get_enabled_plugins().addCallback(self._on_get_enabled_plugins)
|
||||
for instance in self.plugins.values():
|
||||
component.start(instance.plugin.get_component_name())
|
||||
|
||||
def stop(self):
|
||||
# Disable the plugins
|
||||
|
|
Loading…
Add table
Reference in a new issue