Fix email_utils.py formatting

This commit is contained in:
Fabio Widmer 2020-08-14 16:30:43 +02:00
parent 9226492f83
commit 9fa9dbe821
No known key found for this signature in database
GPG Key ID: B1EC11D925800D35
1 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,11 @@ def render(template_name, **kwargs) -> str:
template = env.get_template(template_name)
return template.render(MAX_NB_EMAIL_FREE_PLAN=MAX_NB_EMAIL_FREE_PLAN, URL=URL, **kwargs)
return template.render(
MAX_NB_EMAIL_FREE_PLAN=MAX_NB_EMAIL_FREE_PLAN,
URL=URL,
**kwargs,
)
def send_welcome_email(user):