Revert "we should be checking if the new hook has a higher priority"

This reverts commit b145e664e1.
This commit is contained in:
jesopo 2019-07-30 15:23:05 +01:00
parent b145e664e1
commit 5ffe2941e8

View file

@ -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