[Fix] resedit: save works as it should now.

This commit is contained in:
Allanis 2013-04-13 17:25:10 +01:00
parent c6161c8acd
commit cbffbfc2a0
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ def save(xmlfile, data, basetag, tag, has_name=True, do_array=None):
txtnode = xml.createTextNode(text)
node2.appendChild(txtnode)
node.appendChild(node2)
# Standard dictionary approach.
else:
for key3, value3 in value2.items():
@ -74,7 +74,7 @@ def save(xmlfile, data, basetag, tag, has_name=True, do_array=None):
xml.appendChild(base)
fp = open(xmlfile, "w")
xml.writexml(fp, "", "", "\n" "UTF-8")
xml.writexml(fp, "", "", "\n", "UTF-8")
xml.unlink()

Binary file not shown.