mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-05 20:23:17 +00:00
Delete unused files, restructure assets and use scss
This commit is contained in:
@ -13,7 +13,9 @@ def create_message(
|
||||
) -> Message:
|
||||
subject_prefix: str = current_app.config['NOPAQUE_MAIL_SUBJECT_PREFIX']
|
||||
msg: Message = Message(
|
||||
f'{subject_prefix} {subject}', recipients=[recipient])
|
||||
f'{subject_prefix} {subject}',
|
||||
recipients=[recipient]
|
||||
)
|
||||
msg.body: Text = render_template(f'{template}.txt.j2', **kwargs)
|
||||
msg.html: Text = render_template(f'{template}.html.j2', **kwargs)
|
||||
return msg
|
||||
|
Reference in New Issue
Block a user