mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Fix wrong usage of Hook, should be LoaderPlugin
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
d12273a6b8
commit
68751b8f22
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ def add_hooks_to_loader(
|
||||||
for hook in hooks:
|
for hook in hooks:
|
||||||
post_hook = getattr(hook, post_hook_name, None)
|
post_hook = getattr(hook, post_hook_name, None)
|
||||||
if callable(post_hook):
|
if callable(post_hook):
|
||||||
post_hook(hook, result, *args, **kwargs)
|
post_hook(self, result, *args, **kwargs)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue