mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
do not check for "/" if asset name is empty
This commit is contained in:
parent
404b2f4442
commit
42c61fa348
1 changed files with 1 additions and 1 deletions
|
|
@ -2283,7 +2283,7 @@ class CreateContext:
|
|||
|
||||
if AYON_SERVER_ENABLED:
|
||||
asset_name = instance["folderPath"]
|
||||
if "/" not in asset_name:
|
||||
if asset_name and "/" not in asset_name:
|
||||
asset_docs = asset_docs_by_name.get(asset_name)
|
||||
if len(asset_docs) == 1:
|
||||
asset_name = get_asset_name_identifier(asset_docs[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue