DmitrMakeev
commited on
Commit
•
64cc6ac
1
Parent(s):
c0916cd
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def load_data_from_json():
|
|
102 |
user_data.setdefault('web_st', '')
|
103 |
user_data.setdefault('fin_prog', '')
|
104 |
user_data.setdefault('shop_st', '')
|
105 |
-
user_data.setdefault('
|
106 |
user_data.setdefault('pr1', '')
|
107 |
user_data.setdefault('pr2', '')
|
108 |
user_data.setdefault('pr3', '')
|
@@ -112,7 +112,7 @@ def load_data_from_json():
|
|
112 |
|
113 |
query = '''
|
114 |
INSERT INTO contacts (
|
115 |
-
name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, shop_statys_full,
|
116 |
) VALUES (
|
117 |
:Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :shop_st, :curator, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url
|
118 |
)
|
|
|
102 |
user_data.setdefault('web_st', '')
|
103 |
user_data.setdefault('fin_prog', '')
|
104 |
user_data.setdefault('shop_st', '')
|
105 |
+
user_data.setdefault('cur', '')
|
106 |
user_data.setdefault('pr1', '')
|
107 |
user_data.setdefault('pr2', '')
|
108 |
user_data.setdefault('pr3', '')
|
|
|
112 |
|
113 |
query = '''
|
114 |
INSERT INTO contacts (
|
115 |
+
name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, shop_statys_full, cur, pr1, pr2, pr3, pr4, pr5, ad_url
|
116 |
) VALUES (
|
117 |
:Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :shop_st, :curator, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url
|
118 |
)
|