DmitrMakeev commited on
Commit
f5ae306
·
verified ·
1 Parent(s): d79764d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -1711,16 +1711,16 @@ def add_or_update_contact(contact_data):
1711
  def add_data_ver():
1712
  # Извлечение параметров запроса с дефолтными значениями нижнего подчеркивания
1713
  contact_data = {
1714
- 'name': request.args.get('name', '_'),
1715
- 'phone': request.args.get('phone', '_'),
1716
- 'email': request.args.get('email', '_'),
1717
- 'vk_id': request.args.get('vk_id', '_'),
1718
- 'chat_id': request.args.get('chat_id', '_'),
1719
- 'ws_st': request.args.get('ws_st', '_'),
1720
- 'ws_stop': request.args.get('ws_stop', '_'),
1721
- 'web_st': request.args.get('web_st', '_'),
1722
  'fin_prog': request.args.get('fin_prog', '5'),
1723
- 'b_city': request.args.get('b_city', '_'),
1724
  'b_fin': request.args.get('b_fin', '_'),
1725
  'b_ban': request.args.get('b_ban', '_'),
1726
  'b_ign': request.args.get('b_ign', '_'),
@@ -1728,12 +1728,12 @@ def add_data_ver():
1728
  'b_butt': request.args.get('b_butt', '_'),
1729
  'b_mess': request.args.get('b_mess', '_'),
1730
  'shop_st': request.args.get('shop_st', '_'),
1731
- 'curator': request.args.get('curator', '_'),
1732
- 'pr1': request.args.get('pr1', '_'),
1733
- 'pr2': request.args.get('pr2', '_'),
1734
- 'pr3': request.args.get('pr3', '_'),
1735
- 'pr4': request.args.get('pr4', '_'),
1736
- 'pr5': request.args.get('pr5', '_'),
1737
  'ad_url': request.args.get('ad_url', '_'),
1738
  'key_pr': request.args.get('key_pr', '_'),
1739
  'n_con': request.args.get('n_con', '_'),
 
1711
  def add_data_ver():
1712
  # Извлечение параметров запроса с дефолтными значениями нижнего подчеркивания
1713
  contact_data = {
1714
+ 'name': request.args.get('name', ' _'),
1715
+ 'phone': request.args.get('phone', ' _'),
1716
+ 'email': request.args.get('email', ' _'),
1717
+ 'vk_id': request.args.get('vk_id', ' _'),
1718
+ 'chat_id': request.args.get('chat_id', ' _'),
1719
+ 'ws_st': request.args.get('ws_st', ' _'),
1720
+ 'ws_stop': request.args.get('ws_stop', ' _'),
1721
+ 'web_st': request.args.get('web_st', ' _'),
1722
  'fin_prog': request.args.get('fin_prog', '5'),
1723
+ 'b_city': request.args.get('b_city', ' _'),
1724
  'b_fin': request.args.get('b_fin', '_'),
1725
  'b_ban': request.args.get('b_ban', '_'),
1726
  'b_ign': request.args.get('b_ign', '_'),
 
1728
  'b_butt': request.args.get('b_butt', '_'),
1729
  'b_mess': request.args.get('b_mess', '_'),
1730
  'shop_st': request.args.get('shop_st', '_'),
1731
+ 'curator': request.args.get('curator', ' _'),
1732
+ 'pr1': request.args.get('pr1', ' _'),
1733
+ 'pr2': request.args.get('pr2', ' _'),
1734
+ 'pr3': request.args.get('pr3', ' _'),
1735
+ 'pr4': request.args.get('pr4', ' _'),
1736
+ 'pr5': request.args.get('pr5', ' _'),
1737
  'ad_url': request.args.get('ad_url', '_'),
1738
  'key_pr': request.args.get('key_pr', '_'),
1739
  'n_con': request.args.get('n_con', '_'),