mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fixed import in load utils
This commit is contained in:
parent
d58ea89415
commit
315cf40d8b
1 changed files with 4 additions and 2 deletions
|
|
@ -31,8 +31,6 @@ from openpype.pipeline import (
|
|||
schema,
|
||||
legacy_io,
|
||||
Anatomy,
|
||||
registered_root,
|
||||
registered_host,
|
||||
)
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
|
@ -594,6 +592,8 @@ def get_representation_path(representation, root=None, dbcon=None):
|
|||
dbcon = legacy_io
|
||||
|
||||
if root is None:
|
||||
from openpype.pipeline import registered_root
|
||||
|
||||
root = registered_root()
|
||||
|
||||
def path_from_represenation():
|
||||
|
|
@ -789,6 +789,8 @@ def get_outdated_containers(host=None, project_name=None):
|
|||
"""
|
||||
|
||||
if host is None:
|
||||
from openpype.pipeline import registered_host
|
||||
|
||||
host = registered_host()
|
||||
|
||||
if project_name is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue