From 6aa86ba89975a5235a424c001db46a022d245640 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 19 Nov 2014 22:19:45 +0100 Subject: Bug fix. --- pyaggr3g470r/emails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/emails.py') diff --git a/pyaggr3g470r/emails.py b/pyaggr3g470r/emails.py index 65af36ad..26fece56 100644 --- a/pyaggr3g470r/emails.py +++ b/pyaggr3g470r/emails.py @@ -108,7 +108,7 @@ def send_postmark(to="", bcc="", subject="", plaintext=""): message.to = conf.NOTIFICATION_EMAIL message.bcc = bcc elif bcc == "": - message.to = recipients + message.to = to message.send() except Exception as e: logger.exception("send_postmark raised:") -- cgit