From 245eff74a7add24ea0434dc3fedc87b9289f5dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Mon, 17 Feb 2025 19:26:30 +0100 Subject: [PATCH] fix recipients (again) --- main/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/models.py b/main/models.py index ff64d2be..d23252bb 100644 --- a/main/models.py +++ b/main/models.py @@ -636,7 +636,7 @@ Pirátská Strana # From email "vyberka@pirati.cz", # To email - form.cleaned_data['email'] + [form.cleaned_data['email']], ) administrator_email = EmailMessage( @@ -669,7 +669,7 @@ PĹ™i otevĂránĂ souborĹŻ buÄŹte opatrnĂ, virovĂ˝ probÄ›hl, ale nemusĂ bĂ˝t p # From email "vyberka@pirati.cz", # Recipient list - [self.recipient_emails.split(",")], + self.recipient_emails.split(","), ) form.cleaned_data["cv_file"].seek(0) -- GitLab