Add an empty line at the end of the ToC.txt file

This commit is contained in:
Veronica K. B. Olsen
2020-05-30 00:20:14 +02:00
parent a7bca8486f
commit f3cc6359c4
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -1336,6 +1336,7 @@ class NWTree():
tItem.itemClass.name,
tItem.itemName,
])
outFile.write("\n")
# Dump the JSON
with open(tocJson, mode="w+", encoding="utf8") as outFile:
+1
View File
@@ -20,3 +20,4 @@
content/bc0cbd2a407f3.nwd NOVEL Another Scene
content/edca4be2fcaf8.nwd NOVEL Part One
content/f1471bef9f2ae.nwd WORLD Space
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<novelWriterXML appVersion="0.7.0rc1" hexVersion="0x000700c1" fileVersion="1.1" saveCount="201" autoCount="29" timeStamp="2020-05-30 00:16:29" editTime="33">
<novelWriterXML appVersion="0.7.0rc1" hexVersion="0x000700c1" fileVersion="1.1" saveCount="202" autoCount="29" timeStamp="2020-05-30 00:19:45" editTime="35">
<project>
<name>Sample Project</name>
<title>Sample Project</title>