summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/plugin.py2
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: