aboutsummaryrefslogtreecommitdiff
path: root/src/notifications
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-09-21 07:37:04 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-09-21 07:37:04 +0200
commit1671be043f703bc77f4138d2bec3cd242cfa71ca (patch)
treeaa44db754db4158539ad561dddeb5c05dfaada9c /src/notifications
parentChanged official repository of Newspipe. (diff)
parentUpdated README. (diff)
downloadnewspipe-1671be043f703bc77f4138d2bec3cd242cfa71ca.tar.gz
newspipe-1671be043f703bc77f4138d2bec3cd242cfa71ca.tar.bz2
newspipe-1671be043f703bc77f4138d2bec3cd242cfa71ca.zip
Merge branch 'master' of github.com:newspipe/newspipe
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/emails.py4
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)
bgstack15