922
922
width = root.get('width')
923
923
height = root.get('height')
924
924
if width is None or height is None:
928
928
root.attrib['viewBox'] = "0 0 {0} {1}".format(width, height)
929
929
file_content = ElementTree.tostring(root, encoding='UTF-8')