fix decorator async import
This commit is contained in:
parent
c92dfa10dc
commit
af41410b87
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 async
|
from decorators import async
|
||||||
|
|
||||||
@async
|
@async
|
||||||
def send_async_email(app, msg):
|
def send_async_email(app, msg):
|
||||||
|
|
Loading…
Reference in a new issue