mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1162 from ynput/bugfix/host-validation
Host tools: Validate host against correct interface for publisher tool
This commit is contained in:
commit
9d4ce99dab
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