From 753e2fd235807082b5af4043e142093b243e48f7 Mon Sep 17 00:00:00 2001 From: yhjun1026 <460342015@qq.com> Date: Thu, 19 Oct 2023 16:22:02 +0800 Subject: [PATCH] bugfix(ChatData): ChatData 1.empty table show bug fix; --- pilot/connections/manages/connection_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilot/connections/manages/connection_manager.py b/pilot/connections/manages/connection_manager.py index 9b66d0501..340c58f0b 100644 --- a/pilot/connections/manages/connection_manager.py +++ b/pilot/connections/manages/connection_manager.py @@ -154,7 +154,7 @@ def test_connect(self, db_info: DBConfig): 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