Skip to content

Commit c4ce026

Browse files
author
Alexey
committed
Fix entry to_string()
1 parent 0180f07 commit c4ce026

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/atom/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def to_string(self, version=1, encoding=None, pretty_print=None):
344344
if pretty_print and xmlString is not None:
345345
return xmlString(tree_string).toprettyxml()
346346

347-
return tree_string
347+
return tree_string.decode('utf-8')
348348

349349
ToString = to_string
350350

0 commit comments

Comments
 (0)