Remove the ToC.json file and change the format of the ToC.txt file a little

This commit is contained in:
Veronica K. B. Olsen
2020-11-03 21:11:40 +01:00
parent 342d6a07c0
commit b79f485af0
6 changed files with 51 additions and 143 deletions
+2 -1
View File
@@ -743,7 +743,7 @@ class NWProject():
"""Close the current project and clear all meta data.
"""
self.optState.saveSettings()
self.projTree.writeToCFiles()
self.projTree.writeToCFile()
self._appendSessionStats()
self._clearLockFile()
self.clearProject()
@@ -1480,6 +1480,7 @@ class NWProject():
os.path.join(self.projMeta, "timelineOptions.json"),
os.path.join(self.projMeta, "docMergeOptions.json"),
os.path.join(self.projMeta, "sessionLogOptions.json"),
os.path.join(self.projPath, "ToC.json"),
]
for rmFile in rmList: