Skip to content

Commit 7d206df

Browse files
committed
Fix tostring()
1 parent 4d9f45d commit 7d206df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emeraldtree/tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ def write(self, file,
667667

668668
def tostring(element, encoding=None, method=None):
669669
data = tostringlist(element, encoding, method)
670-
return "".join(data)
670+
return b"".join(data)
671671

672672
##
673673
# Generates a string representation of an XML element, including all

0 commit comments

Comments
 (0)