mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Refactor folder type to lowercase in ShotMetadataSolver. Adjusted parent_token_type to lowercase for consistency.
This commit is contained in:
parent
f88f23b589
commit
d1cc880968
1 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ class ShotMetadataSolver:
|
|||
# in case first parent is project then start parents from start
|
||||
if (
|
||||
_index == 0
|
||||
and parent_token_type == "project"
|
||||
and parent_token_type == "Project"
|
||||
):
|
||||
project_parent = parents[0]
|
||||
parents = [project_parent]
|
||||
|
|
@ -194,7 +194,7 @@ class ShotMetadataSolver:
|
|||
|
||||
parents.append({
|
||||
"entity_type": "folder",
|
||||
"folder_type": parent_token_type,
|
||||
"folder_type": parent_token_type.lower(),
|
||||
"entity_name": parent_name
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue