mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
use instance.data['folderPath']
This commit is contained in:
parent
1db9fbfe40
commit
40e41c56ae
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class ValidateModelName(pyblish.api.InstancePlugin,
|
|||
invalid = False
|
||||
compare = {
|
||||
"project": instance.context.data["projectName"],
|
||||
"asset": instance.context.data["folderPath"],
|
||||
"asset": instance.data["folderPath"],
|
||||
"subset": instance.data["productName"]
|
||||
}
|
||||
for key, required_value in compare.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue