diff options
Diffstat (limited to 'src/notifications')
-rw-r--r-- | src/notifications/emails.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifications/emails.py b/src/notifications/emails.py index 3ee0aa4a..e2c9f444 100644 --- a/src/notifications/emails.py +++ b/src/notifications/emails.py @@ -28,12 +28,12 @@ import sendgrid from sendgrid.helpers.mail import * import conf -from web.decorators import async +from web.decorators import async_maker logger = logging.getLogger(__name__) -@async +@async_maker def send_async_email(mfrom, mto, msg): try: s = smtplib.SMTP(conf.NOTIFICATION_HOST) |