Redmind commited on
Commit
85756d7
·
verified ·
1 Parent(s): 6c90dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -563,9 +563,10 @@ def answer_question(user_question, chatbot, audio=None):
563
  if match:
564
  user_email = match.group() # Return the matched email
565
  #print("user_email")
566
- print(user_email)
567
  # email send
568
- if user_email:
 
569
  # Send email with the chart image attached
570
  send_email_with_attachment(
571
  recipient_email=user_email,
 
563
  if match:
564
  user_email = match.group() # Return the matched email
565
  #print("user_email")
566
+ #print(user_email)
567
  # email send
568
+ if len(user_email)>0:
569
+ print("user_email")
570
  # Send email with the chart image attached
571
  send_email_with_attachment(
572
  recipient_email=user_email,