Spaces:
Sleeping
Sleeping
1 index volley
Browse files
app.py
CHANGED
@@ -84,8 +84,8 @@ def save_data(orig_user_email, constituent_email, labels, user_response, current
|
|
84 |
volley = 1
|
85 |
if orig_user_email != "":
|
86 |
db_cursor.execute(
|
87 |
-
"INSERT INTO radmap_frog12.messages (app_id, org_id, person_id, communication_method_id, status_id, subject, body, send_date, message_type, volley) VALUES (0, 0, 0, 1, 1, 'Email Classification and Response Tracking', %s, NOW(), 'Email Classification and Response Tracking',
|
88 |
-
(orig_user_email,),
|
89 |
)
|
90 |
volley = 2
|
91 |
|
|
|
84 |
volley = 1
|
85 |
if orig_user_email != "":
|
86 |
db_cursor.execute(
|
87 |
+
"INSERT INTO radmap_frog12.messages (app_id, org_id, person_id, communication_method_id, status_id, subject, body, send_date, message_type, volley) VALUES (0, 0, 0, 1, 1, 'Email Classification and Response Tracking', %s, NOW(), 'Email Classification and Response Tracking', %s)",
|
88 |
+
(orig_user_email, volley),
|
89 |
)
|
90 |
volley = 2
|
91 |
|