EinsteinCoder commited on
Commit
18e3721
·
1 Parent(s): 73b3892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -241,7 +241,7 @@ def main():
241
  if st.button("Send Email"):
242
  remail=email.strip()
243
  msg = ' '.join(map(str, pred))
244
- if msg is null:
245
  st.error("Message Body is Null")
246
  else:
247
  send_brevomail(remail,msg,strtime)
 
241
  if st.button("Send Email"):
242
  remail=email.strip()
243
  msg = ' '.join(map(str, pred))
244
+ if msg == '' :
245
  st.error("Message Body is Null")
246
  else:
247
  send_brevomail(remail,msg,strtime)