From 5ffe2941e8d63ef3ac5893fcb36a1ad0f825e319 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 30 Jul 2019 15:23:05 +0100 Subject: [PATCH] Revert "we should be checking if the new hook has a higher priority" This reverts commit b145e664e1c26322c916783b910050b7393fdb83. --- src/EventManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventManager.py b/src/EventManager.py index db5475cf..b09847c4 100644 --- a/src/EventManager.py +++ b/src/EventManager.py @@ -150,7 +150,7 @@ class EventRoot(object): hook_position = 0 for i, other_hook in enumerate(hook_array): - if new_hook.priority > other_hook.priority: + if other_hook.priority > new_hook.priority: hook_position = i break