Skip to content

Commit 73c051e

Browse files
committed
Fix TypeError when Python 3.x
1 parent 5a76da4 commit 73c051e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/make_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@
8181
xmldoc = None
8282

8383
valid_instance(eid)
84-
xmldoc = metadata_tostring_fix(eid, nspair, xmldoc)
84+
xmldoc = metadata_tostring_fix(eid, nspair, xmldoc.encode())
8585
print(xmldoc.decode("utf-8"))

0 commit comments

Comments
 (0)