DmitrMakeev commited on
Commit
2e9e943
·
verified ·
1 Parent(s): 66c9952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -261,9 +261,9 @@ def load_data_from_json(json_data):
261
 
262
  query = '''
263
  INSERT INTO contacts (
264
- name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator
265
  ) VALUES (
266
- :Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :shop_st, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url, :curator
267
  )
268
  '''
269
  cursor.execute(query, user_data)
 
261
 
262
  query = '''
263
  INSERT INTO contacts (
264
+ name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, canal, data_t
265
  ) VALUES (
266
+ :Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :shop_st, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url, :curator, :key_pr, :canal, :data_t
267
  )
268
  '''
269
  cursor.execute(query, user_data)