All xml attributes are now added to the etree class in alphabetical order to ensure it writes the same on different versions
This commit is contained in:
@@ -288,8 +288,8 @@ class NWProject():
|
||||
# Root element and project details
|
||||
logger.debug("Writing project meta")
|
||||
nwXML = etree.Element("novelWriterXML",attrib={
|
||||
"fileVersion" : "1.0",
|
||||
"appVersion" : str(nw.__version__),
|
||||
"fileVersion" : "1.0",
|
||||
"timeStamp" : datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user