Fix bug in document section stats

This commit is contained in:
Veronica K. B. Olsen
2020-09-24 23:24:15 +02:00
parent a9fd68a249
commit ad50ef6e8c
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ class NWIndex():
# Count words for remaining text after last heading
if nTitle > 0:
lastText = "\n".join(theLines[nTitle-1:nLine-1])
lastText = "\n".join(theLines[nTitle-1:])
self._indexWordCounts(tHandle, isNovel, lastText, nTitle)
# Update timestamps for index changes