Remove mail body

main
Laurent 3 years ago
parent 702c83f8dc
commit d68f7b26bc
  1. 2
      __init__.py

@ -38,7 +38,7 @@ def sender():
def send_mail(recipient, file):
msg = Message('Poker Analytics Backup', sender = 'backup@pokeranalytics.net', recipients = [recipient])
msg.body = "This is the backup"
#msg.body = "This is the backup"
filename = secure_filename(file.filename)
msg.attach(filename, "text/csv", file.read())

Loading…
Cancel
Save