From 357938a73b281c8d238cae8d292f14d5645c8d19 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Sat, 25 May 2024 15:05:53 +0200 Subject: [PATCH] try few things --- cognee/infrastructure/InfrastructureConfig.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cognee/infrastructure/InfrastructureConfig.py b/cognee/infrastructure/InfrastructureConfig.py index c55b89ed3..7d409f0cf 100644 --- a/cognee/infrastructure/InfrastructureConfig.py +++ b/cognee/infrastructure/InfrastructureConfig.py @@ -106,7 +106,10 @@ class InfrastructureConfig(): self.database_directory_path = self.system_root_directory + "/" + config.db_path if (config_entity is None or config_entity == "database_file_path") and self.database_file_path is None: - self.database_file_path = self.system_root_directory + "/" + config.db_path + "/" + config.db_name + try: + self.database_file_path = self.system_root_directory + "/" + config.db_path + "/" + config.db_name + except: + self.database_file_path = self.system_root_directory + "/" + "databases" + "/" + "cognee.db" if (config_entity is None or config_entity == "vector_engine") and self.vector_engine is None: try: