mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Refactor folder path extraction logic for validation plugin
Adjust how folder paths are processed for better accuracy.
This commit is contained in:
parent
93b6ded5df
commit
8b1ff95566
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class ValidateEditorialAssetName(pyblish.api.ContextPlugin):
|
|||
|
||||
existing_folder_paths = {
|
||||
folder_entity["path"]: (
|
||||
folder_entity["path"].lstrip("/").rsplit("/")[0]
|
||||
folder_entity["path"].lstrip("/").rsplit("/")[:-1]
|
||||
)
|
||||
for folder_entity in folder_entities
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue