ignore storylines without nodename
This commit is contained in:
parent
aef2dd7790
commit
339ebe754f
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class Engine:
|
|||
{'key': 'type', 'operator': '==', 'value': 'storylines'},
|
||||
],
|
||||
'operator': '&'
|
||||
}, ['id', 'name', 'tags', 'nodename']) if entity.get('tags', [])]
|
||||
}, ['id', 'name', 'tags', 'nodename']) if entity.get('tags', []) and entity.get('nodename')]
|
||||
# Get list of storyline names
|
||||
names = list(set([storyline['name'] for storyline in storylines]))
|
||||
# Get all clips annotated with storyline references
|
||||
|
|
Loading…
Reference in a new issue