mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
validate host for 'IPublishHost' interface instead of 'ILoadHost'
This commit is contained in:
parent
50f9305085
commit
ec41b30665
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import os
|
|||
|
||||
import pyblish.api
|
||||
|
||||
from ayon_core.host import ILoadHost
|
||||
from ayon_core.host import ILoadHost, IPublishHost
|
||||
from ayon_core.lib import Logger
|
||||
from ayon_core.pipeline import registered_host
|
||||
|
||||
|
|
@ -236,7 +236,7 @@ class HostToolsHelper:
|
|||
from ayon_core.tools.publisher.window import PublisherWindow
|
||||
|
||||
host = registered_host()
|
||||
ILoadHost.validate_load_methods(host)
|
||||
IPublishHost.validate_publish_methods(host)
|
||||
|
||||
publisher_window = PublisherWindow(
|
||||
controller=controller,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue