DmitrMakeev commited on
Commit
f9a6d6f
·
verified ·
1 Parent(s): c5fc451

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -268,11 +268,9 @@ def load_data_from_json(json_data):
268
 
269
  query = '''
270
  INSERT INTO contacts (
271
- 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, n_con, canal, data_t,
272
- b_city, b_fin, b_ban, b_ign, b_baners, b_butt, b_mess, shop_st
273
  ) VALUES (
274
- :Имя, :Телефон, :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, :n_con, :canal, :data_t,
275
- :b_city, :b_fin, :b_ban, :b_ign, :b_baners, :b_butt, :b_mess, :shop_st
276
  )
277
  '''
278
  cursor.execute(query, user_data)
 
268
 
269
  query = '''
270
  INSERT INTO contacts (
271
+ name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, b_city, b_fin, b_ban, b_ign, b_baners, b_butt, b_mess, shop_st, shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t
 
272
  ) VALUES (
273
+ :Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :b_city, :b_fin, :b_ban, :b_ign, :b_baners, :b_butt, :b_mess, :shop_st, :shop_st, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url, :curator, :key_pr, :n_con, :canal, :data_t
 
274
  )
275
  '''
276
  cursor.execute(query, user_data)