1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Fix support of recurring events

This commit is contained in:
Guillaume Ayoub 2016-07-07 17:49:56 +02:00
parent d7f41203f5
commit 8c225f019c
3 changed files with 26 additions and 1 deletions

View file

@ -527,7 +527,8 @@ class Collection(BaseCollection):
for item in items:
for content in ("vevent", "vtodo", "vjournal"):
if content in item.contents:
collection.add(getattr(item, content))
for item_part in getattr(item, "%s_list" % content):
collection.add(item_part)
break
return collection.serialize()
elif self.get_meta("tag") == "VADDRESSBOOK":