Update app.py
Browse files
app.py
CHANGED
@@ -1503,9 +1503,10 @@ def add_or_update_contact(contact_data):
|
|
1503 |
fields = [
|
1504 |
'name', 'phone', 'email', 'vk_id', 'chat_id', 'ws_st', 'ws_stop', 'web_st', 'fin_prog',
|
1505 |
'b_city', 'b_fin', 'b_ban', 'b_ign', 'b_baners', 'b_butt', 'b_mess', 'shop_st', 'curator',
|
1506 |
-
'pr1', 'pr2', 'pr3', 'pr4', 'pr5', '
|
1507 |
]
|
1508 |
|
|
|
1509 |
placeholders = ", ".join([f"{field} = ?" for field in fields])
|
1510 |
|
1511 |
if contact:
|
|
|
1503 |
fields = [
|
1504 |
'name', 'phone', 'email', 'vk_id', 'chat_id', 'ws_st', 'ws_stop', 'web_st', 'fin_prog',
|
1505 |
'b_city', 'b_fin', 'b_ban', 'b_ign', 'b_baners', 'b_butt', 'b_mess', 'shop_st', 'curator',
|
1506 |
+
'pr1', 'pr2', 'pr3', 'pr4', 'pr5', 'gc_url', 'key_pr', 'n_con', 'canal', 'data_on', 'data_t', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content' 'gcpc'
|
1507 |
]
|
1508 |
|
1509 |
+
|
1510 |
placeholders = ", ".join([f"{field} = ?" for field in fields])
|
1511 |
|
1512 |
if contact:
|