bugfix(ChatData): ChatData (#695)

1.empty table show bug fix;
This commit is contained in:
magic.chen 2023-10-19 16:25:27 +08:00 committed by GitHub
commit 470ecf3332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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