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':
|
||||
x['id'],
|
||||
'tags':
|
||||
x['tags']
|
||||
x['tags'] if 'tags' in x else None
|
||||
}, TW.summary()),
|
||||
key=lambda x: x['start'])
|
||||
IS_ACTIVE = len(list(filter(lambda x: "end" not in x, TW.summary()))) > 0
|
||||
|
|
Loading…
Reference in a new issue