Commit 083fe8df authored by fred's avatar fred
Browse files

remove hardcoded debug mode

parent f8f49323
......@@ -88,9 +88,6 @@ class Newsletter(models.Model):
msg = MIMEMultipart('alternative')
msg['Subject'] = self.subject
msg['From'] = settings.NEWSLETTER_SENDER
if settings.DEBUG:
msg['To'] = 'fred@localhost'
msg['To'] = '%s@%s' % (settings.NEWSLETTER_NAME, settings.NEWSLETTER_DOMAIN)
h2t = html2text.HTML2Text()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment