diff --git a/main/models.py b/main/models.py index ff64d2be90ca9eb70263593d5cc6373140482501..d23252bb1c1bf562e267edfb8dce524a2241237d 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)