mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-19 05:00:56 +00:00
Fix email function
This commit is contained in:
1 parent
45a3c664a2
commit
f744e32d7e
1 file changed
+2
-1
+2
-1
@@ -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)
|
||||
Reference in new issue
Block a user