diff --git a/pype/plugins/ftrack/publish/validate_custom_ftrack_attributes.py b/pype/plugins/ftrack/publish/validate_custom_ftrack_attributes.py index 4bddcd2e03..ed3fdc75ac 100644 --- a/pype/plugins/ftrack/publish/validate_custom_ftrack_attributes.py +++ b/pype/plugins/ftrack/publish/validate_custom_ftrack_attributes.py @@ -61,8 +61,12 @@ class ValidateFtrackAttributes(pyblish.api.InstancePlugin): "Missing FTrack Task entity in context") host = pyblish.api.current_host() - to_check = context.data["presets"].get( - host, {}).get("ftrack_custom_attributes") + to_check = ( + context.data["project_settings"] + ["ftrack"] + .get(host, {}) + .get("ftrack_custom_attributes") + ) if not to_check: self.log.warning("ftrack_attributes preset not found") return diff --git a/pype/settings/defaults/project_settings/global.json b/pype/settings/defaults/project_settings/global.json index 6661729e3d..da56fd34e7 100644 --- a/pype/settings/defaults/project_settings/global.json +++ b/pype/settings/defaults/project_settings/global.json @@ -111,7 +111,7 @@ } }, "tools": { - "Creator": { + "creator": { "families_smart_select": { "Render": [ "light", @@ -179,4 +179,4 @@ } } } -} \ No newline at end of file +}