1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Allow multiple <D:set> and <D:remove> elements and consider order

This commit is contained in:
Unrud 2020-09-26 22:08:22 +02:00
parent 1fe011020b
commit 10dafde32d
4 changed files with 40 additions and 35 deletions

View file

@ -43,6 +43,7 @@ class ApplicationMkcalendarMixin:
return httputils.REQUEST_TIMEOUT
# Prepare before locking
props = xmlutils.props_from_request(xml_content)
props = {k: v for k, v in props.items() if v is not None}
props["tag"] = "VCALENDAR"
# TODO: use this?
# timezone = props.get("C:calendar-timezone")