AMead10 commited on
Commit
6923dbf
·
1 Parent(s): 88af45a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def save_data(orig_user_email, constituent_email, labels, user_response, current
82
 
83
  try:
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', 0)",
88
  (orig_user_email,),
 
82
 
83
  try:
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', 0)",
88
  (orig_user_email,),