Commit e95690c3 authored by Jed Simson's avatar Jed Simson

Fix up class name.

parent cd71e13f
......@@ -3,7 +3,7 @@ from sendgrid.helpers.mail import Email, Content, Mail
import threading
import os
class Mail(object):
class Mailer(object):
def __init__(self, api_key, default_from):
self.api_key = api_key
......@@ -32,7 +32,7 @@ class Mail(object):
return message
email_manager = Mail(
email_manager = Mailer(
api_key=os.environ['SENDGRID_API_KEY'],
default_from=os.environ['SENDGRID_DEFAULT_FROM']
)
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