mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Renamed
This commit is contained in:
parent
a4babae5f5
commit
0e292eb356
1 changed files with 3 additions and 3 deletions
|
|
@ -307,9 +307,9 @@ def discover_loader_plugins(project_name=None):
|
|||
),
|
||||
exc_info=True,
|
||||
)
|
||||
for Hook in hooks:
|
||||
if Hook.is_compatible(plugin):
|
||||
hook_loader_load(plugin, Hook())
|
||||
for hookCls in hooks:
|
||||
if hookCls.is_compatible(plugin):
|
||||
hook_loader_load(plugin, hookCls())
|
||||
return plugins
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue