From 0ab7e4060d6205cdac4d4e8251977893c92cbad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 9 Apr 2008 21:12:11 +0200 Subject: Fixed small bug in plugin system --- portato/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/plugin.py') diff --git a/portato/plugin.py b/portato/plugin.py index ab5564f..08e651b 100644 --- a/portato/plugin.py +++ b/portato/plugin.py @@ -451,7 +451,7 @@ class PluginQueue: elif connect.depend_plugin == "-*": self.hooks[hook.hook][2][0:0] = [connect] else: - named = [x.plugin.name for x in self.hooks[hook.hook][2]] + named = [x.hook.plugin.name for x in self.hooks[hook.hook][2]] if connect.depend_plugin in named: self.hooks[hook.hook][2].insert(named.index(connect.depend_plugin)+1, connect) else: -- cgit v1.2.3