Compare commits

..

2 Commits

Author SHA1 Message Date
c1761977cd added tests for 'chat.py' 2023-08-31 14:59:20 +02:00
2ce8683c2d added new module 'chat.py' 2023-08-31 14:59:20 +02:00

View File

@ -179,6 +179,9 @@ class ChatDB(Chat):
def __post_init__(self) -> None:
# contains the latest message ID
self.next_fname = self.db_path / '.next'
# make all paths absolute
self.cache_path = self.cache_path.absolute()
self.db_path = self.db_path.absolute()
@classmethod
def from_dir(cls: Type[ChatDBInst],