Skip to content

Commit

Permalink
Fix TypeError when Python 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
psmiraglia committed Sep 20, 2019
1 parent 5a76da4 commit 73c051e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/make_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
xmldoc = None

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

0 comments on commit 73c051e

Please sign in to comment.