[Fix] resedit: Data wasn't closing file.
This commit is contained in:
parent
c08740dc5a
commit
39b63ce669
@ -93,6 +93,7 @@ def save(xmlfile, data, basetag, tag, has_name=True, do_array=None, do_special=N
|
||||
|
||||
fp = open(xmlfile, "w")
|
||||
xml.writexml(fp, "", "", "", "UTF-8")
|
||||
fp.close()
|
||||
|
||||
xml.unlink()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user