diff --git a/pype/ftrack/actions/action_create_cust_attrs.py b/pype/ftrack/actions/action_create_cust_attrs.py index c141d6672c..37b11256d2 100644 --- a/pype/ftrack/actions/action_create_cust_attrs.py +++ b/pype/ftrack/actions/action_create_cust_attrs.py @@ -272,7 +272,7 @@ class CustomAttributes(BaseAction): entity_type_label = "Project" elif attr_ent_type == "task": entity_type_label = ( - object_types_per_id[attr_def["object_type_id"]] + object_types_per_id[attr_def["object_type_id"]]["name"] ) else: self.log.warning(