diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-09 21:12:11 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-09 21:12:11 +0200 |
commit | 0ab7e4060d6205cdac4d4e8251977893c92cbad1 (patch) | |
tree | 68fc45b6caeab393ea3e12a8c62518334713eb24 /portato | |
parent | 1d2d44b9162a9bcddc1a3b642c6f5038095b72c8 (diff) | |
download | portato-0ab7e4060d6205cdac4d4e8251977893c92cbad1.tar.gz portato-0ab7e4060d6205cdac4d4e8251977893c92cbad1.tar.bz2 portato-0ab7e4060d6205cdac4d4e8251977893c92cbad1.zip |
Fixed small bug in plugin system
Diffstat (limited to '')
-rw-r--r-- | portato/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |