Skip to content

Commit e1a400c

Browse files
committed
Just print a unicode string directly
1 parent 4213ee2 commit e1a400c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def printOutput(parser, document, opts):
105105
if not hasattr(document,'__getitem__'):
106106
document = [document]
107107
for fragment in document:
108-
print(parser.tree.testSerializer(fragment).encode("utf-8"))
108+
print(parser.tree.testSerializer(fragment))
109109
elif opts.hilite:
110110
sys.stdout.write(document.hilite("utf-8"))
111111
elif opts.html:

0 commit comments

Comments
 (0)