diff --git a/odml/tools/converters/version_converter.py b/odml/tools/converters/version_converter.py index bd05da39..1f4527a5 100644 --- a/odml/tools/converters/version_converter.py +++ b/odml/tools/converters/version_converter.py @@ -13,6 +13,7 @@ from lxml import etree as ET from ..parser_utils import ParserException +from ..xmlparser import XML_HEADER from ...format import Document, Section, Property from ...info import FORMAT_VERSION @@ -531,5 +532,5 @@ def write_to_file(self, filename, backend="XML"): if data and "\n') + file.write("%s\n" % XML_HEADER) file.write(data)