mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Fix email function
This commit is contained in:
parent
45a3c664a2
commit
f744e32d7e
@ -16,6 +16,7 @@ def create_message(recipient, subject, template, **kwargs):
|
||||
|
||||
|
||||
@background
|
||||
def send(app, msg):
|
||||
def send(msg, *args, **kwargs):
|
||||
app = kwargs['app']
|
||||
with app.app_context():
|
||||
mail.send(msg)
|
||||
|
Loading…
Reference in New Issue
Block a user