From 00e9296cb0c8fc961dc7e8ba331b82952383c2d6 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 13 Feb 2017 17:47:29 +0100 Subject: [PATCH] email to lower check fix --- rowers/management/commands/processemail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/management/commands/processemail.py b/rowers/management/commands/processemail.py index b92692bb..3ce3094e 100644 --- a/rowers/management/commands/processemail.py +++ b/rowers/management/commands/processemail.py @@ -50,7 +50,7 @@ class Command(BaseCommand): for a in attachments: donotdelete = 0 m = Message.objects.get(id=a.message_id) - from_address = m.from_address[0] + from_address = m.from_address[0].lower() name = m.subject cntr += 1 # get a list of users