diff --git a/nw/core/project.py b/nw/core/project.py index f2abbcf4..13fa1f08 100644 --- a/nw/core/project.py +++ b/nw/core/project.py @@ -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: diff --git a/sample/ToC.txt b/sample/ToC.txt index b1a7c2ed..da23e664 100644 --- a/sample/ToC.txt +++ b/sample/ToC.txt @@ -20,3 +20,4 @@ content/bc0cbd2a407f3.nwd NOVEL Another Scene content/edca4be2fcaf8.nwd NOVEL Part One content/f1471bef9f2ae.nwd WORLD Space + diff --git a/sample/nwProject.nwx b/sample/nwProject.nwx index f736c544..4a88e0c1 100644 --- a/sample/nwProject.nwx +++ b/sample/nwProject.nwx @@ -1,5 +1,5 @@ - + Sample Project Sample Project