From 5bfadc6365cd1ddc0b5e82ff3baed5e2d8b79bec Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Wed, 14 Apr 2021 15:09:49 +0200 Subject: [PATCH] stupid error --- TODO | 4 ++++ input/management/commands/sendmails.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index b96baed..1900f3c 100644 --- a/TODO +++ b/TODO @@ -12,3 +12,7 @@ other known problems: - The DatePicker works only if you are logged in, which is mostly ok for /intern and there is no Date to insert at the moment in forms for externs. + +other issues + + - server error 500 in production after businesscards process. is this reproducable? diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py index 312f3e6..51a6e34 100644 --- a/input/management/commands/sendmails.py +++ b/input/management/commands/sendmails.py @@ -40,7 +40,7 @@ class Command(BaseCommand): mail_template.render(context), IF_EMAIL, [email], - bcc=[SURVEY_EMAIL, benni.baermann@wikimedia.de]) + bcc=[SURVEY_EMAIL, 'benni.baermann@wikimedia.de']) survey_mail.send(fail_silently=False) except BadHeaderError: return HttpResponse('Invalid header found.')