diff --git a/db/db_config.py b/db/db_config.py index f73a4d252074c4f120c1fe89ef7724142861ab3c..f733aee269e6a2f209918c0a42010573c1ae1f5b 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 ce0ff6ddca251e48e78f647b232265abca252301..7a733ea1815df7d9d3530550cf8f8fd687fa6761 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()