We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75d1db commit 3a21f0fCopy full SHA for 3a21f0f
odml/tools/version_converter.py
@@ -52,6 +52,9 @@ def _parse_xml(self):
52
if elem in doc:
53
doc = doc.replace(elem, val)
54
55
+ # Make sure encoding is present for the xml parser
56
+ doc = doc.encode('utf-8')
57
+
58
# Make pretty print available by resetting format
59
parser = ET.XMLParser(remove_blank_text=True)
60
tree = ET.ElementTree(ET.fromstring(doc, parser))
0 commit comments