diff --git a/deluge/pluginmanagerbase.py b/deluge/pluginmanagerbase.py index 636ab943e..4256a46c4 100644 --- a/deluge/pluginmanagerbase.py +++ b/deluge/pluginmanagerbase.py @@ -140,7 +140,7 @@ class PluginManagerBase: continue instance.enable() if self._component_state == "Started": - component.start(instance.plugin._component_name) + component.start([instance.plugin._component_name]) plugin_name = plugin_name.replace("-", " ") self.plugins[plugin_name] = instance if plugin_name not in self.config["enabled_plugins"]: diff --git a/deluge/ui/gtkui/pluginmanager.py b/deluge/ui/gtkui/pluginmanager.py index 27c09ffc9..8d0126461 100644 --- a/deluge/ui/gtkui/pluginmanager.py +++ b/deluge/ui/gtkui/pluginmanager.py @@ -75,7 +75,7 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase, # 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._component_name) + component.start([instance.plugin._component_name]) def stop(self): # Disable the plugins