DmitrMakeev
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -60,12 +60,17 @@ curator_on_off = "0" # Глобальная переменная для упр
|
|
60 |
|
61 |
|
62 |
app = Flask(__name__, template_folder="./")
|
|
|
63 |
app.config['DEBUG'] = True
|
|
|
64 |
UPLOAD_FOLDER = 'static'
|
65 |
-
|
|
|
|
|
66 |
if not os.path.exists(UPLOAD_FOLDER):
|
67 |
os.makedirs(UPLOAD_FOLDER)
|
68 |
|
|
|
69 |
DATABASES = ['data_gc.db', 'data1.db', 'data2.db', 'data3.db', 'data4.db', 'data5.db']
|
70 |
|
71 |
|
|
|
60 |
|
61 |
|
62 |
app = Flask(__name__, template_folder="./")
|
63 |
+
|
64 |
app.config['DEBUG'] = True
|
65 |
+
|
66 |
UPLOAD_FOLDER = 'static'
|
67 |
+
|
68 |
+
|
69 |
+
# Создание директории, если она не существует
|
70 |
if not os.path.exists(UPLOAD_FOLDER):
|
71 |
os.makedirs(UPLOAD_FOLDER)
|
72 |
|
73 |
+
|
74 |
DATABASES = ['data_gc.db', 'data1.db', 'data2.db', 'data3.db', 'data4.db', 'data5.db']
|
75 |
|
76 |
|