mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
use self.host
This commit is contained in:
parent
9676dec82d
commit
5acb386ea5
1 changed files with 1 additions and 3 deletions
|
|
@ -40,7 +40,6 @@ from openpype.lib.attribute_definitions import get_attributes_keys
|
|||
from openpype.pipeline import (
|
||||
legacy_io,
|
||||
Anatomy,
|
||||
registered_host,
|
||||
get_current_host_name,
|
||||
)
|
||||
from openpype.pipeline.load import (
|
||||
|
|
@ -579,8 +578,7 @@ class AbstractTemplateBuilder(object):
|
|||
)
|
||||
|
||||
if result:
|
||||
host = registered_host()
|
||||
host.open_file(template_path)
|
||||
self.host.open_file(template_path)
|
||||
|
||||
@abstractmethod
|
||||
def import_template(self, template_path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue