DmitrMakeev
commited on
Commit
•
a6777f3
1
Parent(s):
55a7982
Update app.py
Browse files
app.py
CHANGED
@@ -71,8 +71,8 @@ DATABASES = ['data_gc.db', 'data1.db', 'data2.db', 'data3.db', 'data4.db', 'data
|
|
71 |
|
72 |
|
73 |
|
74 |
-
def
|
75 |
-
conn = sqlite3.connect(
|
76 |
cursor = conn.cursor()
|
77 |
cursor.execute('''
|
78 |
CREATE TABLE IF NOT EXISTS contacts (
|
|
|
71 |
|
72 |
|
73 |
|
74 |
+
def init_db(db_name):
|
75 |
+
conn = sqlite3.connect(db_name)
|
76 |
cursor = conn.cursor()
|
77 |
cursor.execute('''
|
78 |
CREATE TABLE IF NOT EXISTS contacts (
|