DmitrMakeev commited on
Commit
a207445
1 Parent(s): 9a9069e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -229,7 +229,7 @@ def handle_api():
229
 
230
  @app.route("/save_db", methods=['GET'])
231
  def handle_save_db():
232
- response = save_db(app) # Передаем экземпляр app в функцию save_db
233
  return response
234
 
235
 
@@ -237,7 +237,6 @@ def handle_save_db():
237
 
238
 
239
 
240
-
241
  @app.route('/graf_json', methods=['GET'])
242
  def graf_json():
243
  return render_template('graf.html')
 
229
 
230
  @app.route("/save_db", methods=['GET'])
231
  def handle_save_db():
232
+ response = save_db()
233
  return response
234
 
235
 
 
237
 
238
 
239
 
 
240
  @app.route('/graf_json', methods=['GET'])
241
  def graf_json():
242
  return render_template('graf.html')