mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix call to get_representation_path_by_names
This commit is contained in:
parent
47247e68ac
commit
73dfff9191
1 changed files with 4 additions and 1 deletions
|
|
@ -177,7 +177,10 @@ def get_instance_uri_path(
|
|||
|
||||
# If for whatever reason we were unable to retrieve from the context
|
||||
# then get the path from an existing database entry
|
||||
path = get_representation_path_by_names(**query)
|
||||
path = get_representation_path_by_names(
|
||||
anatomy=context.data["anatomy"],
|
||||
**names
|
||||
)
|
||||
|
||||
# Ensure `None` for now is also a string
|
||||
path = str(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue