Compare commits
2 Commits
065038b1c4
...
c1761977cd
| Author | SHA1 | Date | |
|---|---|---|---|
| c1761977cd | |||
| 2ce8683c2d |
@ -179,6 +179,9 @@ class ChatDB(Chat):
|
|||||||
def __post_init__(self) -> None:
|
def __post_init__(self) -> None:
|
||||||
# contains the latest message ID
|
# contains the latest message ID
|
||||||
self.next_fname = self.db_path / '.next'
|
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
|
@classmethod
|
||||||
def from_dir(cls: Type[ChatDBInst],
|
def from_dir(cls: Type[ChatDBInst],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user