strip tags

This commit is contained in:
j 2018-05-27 18:48:39 +02:00
parent 8e06af0e2e
commit c3fb943cc4

View file

@ -155,7 +155,7 @@ class Engine:
'id': entity['id'],
'name': entity['name'],
'nodename': entity['nodename'],
'tags': entity['tags']
'tags': [t.strip() for t in entity['tags']]
} for entity in self.pandora.find_entities({
'conditions': [
{'key': 'type', 'operator': '==', 'value': 'storylines'},