fix(global): ftrack attributes validator failing

This commit is contained in:
Jakub Jezek 2020-02-01 00:18:13 +01:00
parent 3a09ff2059
commit c25a70d72d
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -47,7 +47,7 @@ class ValidateFtrackAttributes(pyblish.api.InstancePlugin):
host = pyblish.api.current_host()
to_check = context.data["presets"].get(
host, {}).get("ftrack_attributes")
host, {}).get("ftrack_custom_attributes")
if not to_check:
self.log.warning("ftrack_attributes preset not found")
return