mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
(hotfix) fixed key accessing in hierarchical attr action discover method
This commit is contained in:
parent
305771ae2b
commit
91bbf71218
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class SyncHierarchicalAttrs(BaseAction):
|
|||
''' Validation '''
|
||||
for entity in entities:
|
||||
if (
|
||||
entity['context_type'].lower() in ('show', 'task') and
|
||||
entity.get('context_type', '').lower() in ('show', 'task') and
|
||||
entity.entity_type.lower() != 'task'
|
||||
):
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue