DmitrMakeev commited on
Commit
a0eaf13
1 Parent(s): 7182484

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,7 +17,7 @@ gc_url_gru = os.getenv('gc_url_gru')
17
 
18
  gc_url_export = os.getenv('gc_url_export') # URL для экспорта данных
19
 
20
- start_up = 1
21
 
22
  gc_url = os.getenv('gc_url')
23
  gc_url_form = os.getenv('gc_url_form')
@@ -263,8 +263,8 @@ def load_data_from_json(json_data):
263
  conn.commit()
264
  conn.close()
265
 
266
- @app.route('/start_up', methods=['GET'])
267
- def start_up():
268
  export_id = request.args.get('export_id')
269
  api_key_sys_control = request.args.get('api_sys')
270
 
 
17
 
18
  gc_url_export = os.getenv('gc_url_export') # URL для экспорта данных
19
 
20
+ start_up = os.getenv('start_up')
21
 
22
  gc_url = os.getenv('gc_url')
23
  gc_url_form = os.getenv('gc_url_form')
 
263
  conn.commit()
264
  conn.close()
265
 
266
+ @app.route('/start', methods=['GET'])
267
+ def start():
268
  export_id = request.args.get('export_id')
269
  api_key_sys_control = request.args.get('api_sys')
270