fix decorator import
This commit is contained in:
parent
a15f7f5145
commit
2e6620e2c5
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ from threading import Thread
|
||||||
from flask import current_app, render_template
|
from flask import current_app, render_template
|
||||||
from flask_mail import Message
|
from flask_mail import Message
|
||||||
from . import app, mail
|
from . import app, mail
|
||||||
from decorators import asyncfn
|
from .decorators import asyncfn
|
||||||
|
|
||||||
@asyncfn
|
@asyncfn
|
||||||
def send_async_email(app, msg):
|
def send_async_email(app, msg):
|
||||||
|
|
Loading…
Reference in a new issue