only render once per uid (not unique in feed)
This commit is contained in:
parent
2ec14ca175
commit
541d10b1c8
1 changed files with 5 additions and 0 deletions
|
@ -77,8 +77,13 @@ def debug():
|
|||
# )
|
||||
|
||||
def tasks(queue):
|
||||
uid = []
|
||||
# iterate over all events extracted from the schedule xml-export
|
||||
for event in events():
|
||||
if event['id'] in uid:
|
||||
continue
|
||||
|
||||
uid.append(event['id'])
|
||||
|
||||
# generate a task description and put them into the queue
|
||||
queue.put((
|
||||
|
|
Loading…
Add table
Reference in a new issue