diff --git a/radicale/__init__.py b/radicale/__init__.py index 2fc3f80..8461f9c 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -46,7 +46,7 @@ except ImportError: import BaseHTTPServer as server # pylint: enable=F0401 -from radicale import acl, config, ical, xmlutils +from radicale import acl, config, ical, xmlutils, log VERSION = "git" diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index b49666c..9f05721 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -84,7 +84,7 @@ def propfind(path, xml_request, calendar, depth, request): """Read and answer PROPFIND requests. Read rfc4918-9.1 for info. - + """ # Reading request root = ET.fromstring(xml_request) @@ -138,7 +138,7 @@ def propfind(path, xml_request, calendar, depth, request): elif tag == _tag("D", "getcontenttype"): element.text = "text/calendar" elif tag == _tag("D", "getetag"): - element.text = element.etag + element.text = element.tag elif tag == _tag("D", "displayname"): element.text = calendar.name elif tag == _tag("D", "supported-report-set"):