mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Refactor folder path handling for validation plugin
Improved folder path processing for better accuracy in validation.
This commit is contained in:
parent
8b1ff95566
commit
9ebb59cc35
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("/")[:-1]
|
||||
folder_entity["path"].lstrip("/").split("/")[:-1]
|
||||
)
|
||||
for folder_entity in folder_entities
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue