Revert "we should be checking if the new hook has a higher priority"
This reverts commit b145e664e1
.
This commit is contained in:
parent
b145e664e1
commit
5ffe2941e8
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class EventRoot(object):
|
||||||
|
|
||||||
hook_position = 0
|
hook_position = 0
|
||||||
for i, other_hook in enumerate(hook_array):
|
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
|
hook_position = i
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue