Change email template to fit new name

This commit is contained in:
Patrick Jentsch
2019-12-02 12:03:50 +01:00
parent 0c55c027db
commit ae30ba7186
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ def send_async_email(app, msg):
def send_email(to, subject, template, **kwargs):
msg = Message('[Opaque] {}'.format(subject), recipients=[to])
msg = Message('[nopaque] {}'.format(subject), recipients=[to])
msg.body = render_template(template + '.txt.j2', **kwargs)
msg.html = render_template(template + '.html.j2', **kwargs)
thread = Thread(target=send_async_email,