diff --git a/pype/modules/ftrack/events/action_push_frame_values_to_task.py b/pype/modules/ftrack/events/action_push_frame_values_to_task.py index 7357397af7..6df27682e0 100644 --- a/pype/modules/ftrack/events/action_push_frame_values_to_task.py +++ b/pype/modules/ftrack/events/action_push_frame_values_to_task.py @@ -115,7 +115,7 @@ class PushHierValuesToNonHier(ServerAction): job["status"] = "failed" session.commit() - def attrs_configurations(self, session, object_ids, interest_attributess): + def attrs_configurations(self, session, object_ids, interest_attributes): attrs = session.query(self.cust_attrs_query.format( self.join_query_keys(interest_attributes), self.join_query_keys(object_ids) @@ -169,10 +169,10 @@ class PushHierValuesToNonHier(ServerAction): for obj_type in destination_object_types ) - interest_attributess = action_settings["interest_attributess"] + interest_attributes = action_settings["interest_attributes"] # Find custom attributes definitions attrs_by_obj_id, hier_attrs = self.attrs_configurations( - session, destination_object_type_ids, interest_attributess + session, destination_object_type_ids, interest_attributes ) # Filter destination object types if they have any object specific # custom attribute diff --git a/pype/settings/defaults/project_settings/ftrack.json b/pype/settings/defaults/project_settings/ftrack.json index af90c8459a..2592ed7ab0 100644 --- a/pype/settings/defaults/project_settings/ftrack.json +++ b/pype/settings/defaults/project_settings/ftrack.json @@ -15,7 +15,7 @@ "Shot", "Asset Build" ], - "interest_attributess": [ + "interest_attributes": [ "frameStart", "frameEnd" ], diff --git a/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_ftrack.json b/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_ftrack.json index c3e4c736c7..26dfdc8498 100644 --- a/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_ftrack.json +++ b/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_ftrack.json @@ -81,7 +81,7 @@ }, { "type": "list", - "key": "interest_attributess", + "key": "interest_attributes", "label": "Attributes to sync", "object_type": { "type": "text",