From a4a31ca2c622e589fe916dfbd22284682d4aab1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 7 May 2017 20:49:58 +0000 Subject: [PATCH] Mailer always enabled --- certidude/mailer.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/certidude/mailer.py b/certidude/mailer.py index 875a6f4..10c7276 100644 --- a/certidude/mailer.py +++ b/certidude/mailer.py @@ -14,9 +14,6 @@ env = Environment(loader=PackageLoader("certidude", "templates/mail")) def send(template, to=None, include_admins=True, attachments=(), **context): from certidude import authority, config - if not config.MAILER_ADDRESS: - # Mailbox disabled, don't send e-mail - return recipients = () if include_admins: