From d68f7b26bc772905b590bd643eb52ae0d040b7b9 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 2 May 2023 11:05:38 +0200 Subject: [PATCH] Remove mail body --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 99d26f2..5ee9e95 100644 --- a/__init__.py +++ b/__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())