From 7befdd55a1095c80eae5427561b214f2a26172fa Mon Sep 17 00:00:00 2001 From: Tom Edwards <edwardstj1@cardiff.ac.uk> Date: Mon, 3 Feb 2025 18:44:31 +0000 Subject: [PATCH] build for DG --- db/db_config.py | 2 +- db/db_creation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_config.py b/db/db_config.py index f73a4d2..f733aee 100644 --- a/db/db_config.py +++ b/db/db_config.py @@ -3,6 +3,6 @@ import sqlite3 def get_db(): - conn = sqlite3.connect('/Users/tom/PycharmProjects/cognistance/db/chinesedata.db') + conn = sqlite3.connect('/Users/tom/PycharmProjects/cognistance/db/data.db') cursor = conn.cursor() return conn, cursor \ No newline at end of file diff --git a/db/db_creation.py b/db/db_creation.py index ce0ff6d..7a733ea 100644 --- a/db/db_creation.py +++ b/db/db_creation.py @@ -1,7 +1,7 @@ import sqlite3 # Connect to an SQLite database (or create it if it doesn't exist) -conn = sqlite3.connect('chinesedata.db') +conn = sqlite3.connect('data.db') # Create a cursor object using the cursor() method cursor = conn.cursor() -- GitLab