DmitrMakeev
commited on
Commit
•
568706e
1
Parent(s):
c60c13e
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ UPLOAD_FOLDER = 'static'
|
|
31 |
if not os.path.exists(UPLOAD_FOLDER):
|
32 |
os.makedirs(UPLOAD_FOLDER)
|
33 |
|
|
|
|
|
34 |
def init_db(db_name):
|
35 |
conn = sqlite3.connect(db_name)
|
36 |
cursor = conn.cursor()
|
|
|
31 |
if not os.path.exists(UPLOAD_FOLDER):
|
32 |
os.makedirs(UPLOAD_FOLDER)
|
33 |
|
34 |
+
DATABASES = ['data_gc.db', 'data1.db', 'data2.db', 'data3.db', 'data4.db', 'data5.db']
|
35 |
+
|
36 |
def init_db(db_name):
|
37 |
conn = sqlite3.connect(db_name)
|
38 |
cursor = conn.cursor()
|