mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
safe access to shortName on folder type
This commit is contained in:
parent
d9518b66bd
commit
2322d0f2ad
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class FolderTypeItem:
|
|||
def from_project_item(cls, folder_type_data):
|
||||
return cls(
|
||||
name=folder_type_data["name"],
|
||||
short=folder_type_data["shortName"],
|
||||
short=folder_type_data.get("shortName", ""),
|
||||
icon=folder_type_data["icon"],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue