allow for the tags key to be empty
This commit is contained in:
parent
0131bbfc71
commit
1e0c3c2bd7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ RESULTS = sorted(map(
|
||||||
'id':
|
'id':
|
||||||
x['id'],
|
x['id'],
|
||||||
'tags':
|
'tags':
|
||||||
x['tags']
|
x['tags'] if 'tags' in x else None
|
||||||
}, TW.summary()),
|
}, TW.summary()),
|
||||||
key=lambda x: x['start'])
|
key=lambda x: x['start'])
|
||||||
IS_ACTIVE = len(list(filter(lambda x: "end" not in x, TW.summary()))) > 0
|
IS_ACTIVE = len(list(filter(lambda x: "end" not in x, TW.summary()))) > 0
|
||||||
|
|
Loading…
Reference in a new issue