query also pype group in ftrack attributes

This commit is contained in:
iLLiCiTiT 2020-08-07 12:41:53 +02:00
parent 5205e1773e
commit ce3271de02

View file

@ -70,7 +70,7 @@ def get_avalon_attr(session, split_hierarchical=True):
cust_attrs_query = (
"select id, entity_type, object_type_id, is_hierarchical, default"
" from CustomAttributeConfiguration"
" where group.name = \"avalon\""
" where group.name in (\"avalon\", \"pype\")"
)
all_avalon_attr = session.query(cust_attrs_query).all()
for cust_attr in all_avalon_attr: