Skip to content

Commit dc9764d

Browse files
committed
Fix TypeError when Python 3.x
1 parent b224a02 commit dc9764d

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)