From 738c18792830ba450536cc63d84b1f44e31c4a8b Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 5 May 2020 10:00:06 +0200 Subject: [PATCH] annoying fix --- pype/ftrack/actions/action_create_cust_attrs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(