mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
handle empty paths
This commit is contained in:
parent
d860919b22
commit
ce4e8a1b04
1 changed files with 2 additions and 3 deletions
|
|
@ -1481,9 +1481,8 @@ class CreateContext:
|
|||
}
|
||||
remainder_paths = set()
|
||||
for folder_path in output:
|
||||
# Skip invalid folder paths (e.g. if only folder name
|
||||
# is passed in)
|
||||
if "/" not in folder_path:
|
||||
# Skip invalid folder paths (folder name or empty path)
|
||||
if not folder_path or "/" not in folder_path:
|
||||
continue
|
||||
|
||||
if folder_path not in self._folder_entities_by_path:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue