Don't handle empty properties as deleted

This commit is contained in:
Unrud 2017-08-04 14:59:01 +02:00
parent 5c15b30058
commit c6ca643bcf

View File

@ -952,7 +952,7 @@ def _propfind_response(base_prefix, path, item, props, user, write=False,
else: else:
human_tag = _tag_from_clark(tag) human_tag = _tag_from_clark(tag)
meta = item.get_meta(human_tag) meta = item.get_meta(human_tag)
if meta: if meta is not None:
element.text = meta element.text = meta
else: else:
is404 = True is404 = True