Skip to content

Commit

Permalink
Merge 5169841 into 15c1ed6
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Mar 5, 2020
2 parents 15c1ed6 + 5169841 commit 2698e5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/webdav/PropertySheets.py
Expand Up @@ -32,8 +32,7 @@ def xml_escape(value):
value = str(value)
if not isinstance(value, str):
value = value.decode('utf-8')
value = xmltools_escape(value)
return value.encode('utf-8')
return xmltools_escape(value)


class DAVProperties(Virtual, PropertySheet, View):
Expand Down

0 comments on commit 2698e5f

Please sign in to comment.