mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
validate ftrack attributes from settings
This commit is contained in:
parent
c8889b712b
commit
f9a0a72b3a
1 changed files with 2 additions and 6 deletions
|
|
@ -61,12 +61,8 @@ class ValidateFtrackAttributes(pyblish.api.InstancePlugin):
|
|||
"Missing FTrack Task entity in context")
|
||||
|
||||
host = pyblish.api.current_host()
|
||||
to_check = (
|
||||
context.data["project_settings"]
|
||||
["ftrack"]
|
||||
.get(host, {})
|
||||
.get("ftrack_custom_attributes")
|
||||
)
|
||||
to_check = self.ftrack_custom_attributes.get(host, {}))
|
||||
|
||||
if not to_check:
|
||||
self.log.warning("ftrack_attributes preset not found")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue