Clean up project settings class

This commit is contained in:
Veronica Berglyd Olsen committed 2023-11-09 18:26:33 +01:00
1 parent 27f3b8e0f2
commit 2cde1b845e
3 files changed
+95 -123

No files matched your search

+2 -2
View File
@@ -152,14 +152,14 @@ class NWProjectData:
"""Return the initial count of words for novel and note
documents.
"""
return tuple(self._initCounts)
return self._initCounts[0], self._initCounts[1]
@property
def currCounts(self) -> tuple[int, int]:
"""Return the current count of words for novel and note
documents.
"""
return tuple(self._currCounts)
return self._currCounts[0], self._currCounts[1]
@property
def lastHandle(self) -> dict[str, str | None]: