Skip to content
Snippets Groups Projects
Commit befd5584 authored by magicfelix's avatar magicfelix
Browse files

[DAV] Fix characters handling

parent dbbb99eb
No related branches found
No related tags found
1 merge request!1147Implement read-only CalDAV and CardDAV
......@@ -34,7 +34,7 @@ class ElementHandler(RegistryObject, is_registry=True):
self.request = request
self.parent = parent
self.attrs = attrs
self.content = None
self.content = ""
if invisible is not None:
self.invisible = invisible
else:
......@@ -191,7 +191,7 @@ class DAVRequest(ElementHandler, ContentHandler):
def characters(self, content):
"""Handle content of an XML element."""
self.current_object.content = content
self.current_object.content += content
class DAVMultistatus:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment