From 497720a0e6fe3bd85f47696b65d580d2196d1af8 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 3 Oct 2016 22:05:49 +0200
Subject: [PATCH] Correct another bug

---
 scipost/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost/views.py b/scipost/views.py
index 1a0ee17b0..f0291a6ee 100644
--- a/scipost/views.py
+++ b/scipost/views.py
@@ -1130,7 +1130,7 @@ def send_precooked_email(request):
                 precookedEmail.email_subject,
                 #email_text, 'SciPost Admin <admin@scipost.org>',
                 email_text, 
-                SciPost_from_addressed_dict[form.cleaned_data['from_address']],
+                SciPost_from_addresses_dict[form.cleaned_data['from_address']],
                 [form.cleaned_data['email_address']], 
                 bcc=['admin@scipost.org'])
             message.attach_alternative(html_version, 'text/html')
-- 
GitLab