mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Add simple support for calendar-user-address-set (references #181)
This commit is contained in:
parent
04938243a8
commit
9874129bbb
1 changed files with 4 additions and 5 deletions
|
@ -140,11 +140,10 @@ def propfind(path, xml_request, calendar, depth):
|
||||||
tag = ET.Element(_tag("D", "href"))
|
tag = ET.Element(_tag("D", "href"))
|
||||||
tag.text = path
|
tag.text = path
|
||||||
element.append(tag)
|
element.append(tag)
|
||||||
elif tag == _tag("D", "principal-collection-set"):
|
elif tag in (
|
||||||
tag = ET.Element(_tag("D", "href"))
|
_tag("D", "principal-collection-set"),
|
||||||
tag.text = path
|
_tag("C", "calendar-user-address-set"),
|
||||||
element.append(tag)
|
_tag("C", "calendar-home-set")):
|
||||||
elif tag == _tag("C", "calendar-home-set"):
|
|
||||||
tag = ET.Element(_tag("D", "href"))
|
tag = ET.Element(_tag("D", "href"))
|
||||||
tag.text = path
|
tag.text = path
|
||||||
element.append(tag)
|
element.append(tag)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue