bugfix(ChatData): ChatData

1.empty table show bug fix;
This commit is contained in:
yhjun1026 2023-10-19 16:22:02 +08:00
parent 365eb0f9ed
commit 753e2fd235

View File

@ -154,7 +154,7 @@ class ConnectManager:
db_type = DBType.of_db_type(db_info.db_type)
connect_instance = self.get_cls_by_dbtype(db_type.value())
if db_type.is_file_db():
db_path = db_info.db_path
db_path = db_info.file_path
return connect_instance.from_file_path(db_path)
else:
db_name = db_info.db_name