DmitrMakeev commited on
Commit
cae6611
·
verified ·
1 Parent(s): 2c2aa7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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
- logging.basicConfig(level=logging.DEBUG)
 
 
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