mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix the bug in regards to the non-existence of instance.context.data['subset']
This commit is contained in:
parent
ea07cea748
commit
88cd493f2d
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class ValidateModelName(pyblish.api.InstancePlugin,
|
|||
compare = {
|
||||
"project": instance.context.data["projectName"],
|
||||
"asset": instance.context.data["folderPath"],
|
||||
"subset": instance.context.data["subset"],
|
||||
"subset": instance.name,
|
||||
}
|
||||
for key, required_value in compare.items():
|
||||
if key in regex.groupindex:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue