mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 01:27:03 +02:00
Update email.py
This commit is contained in:
parent
91b9cb4379
commit
72000b4a9b
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def send_templated_email(
|
||||||
template = get_template(template_name)
|
template = get_template(template_name)
|
||||||
email_body = template.render(context=context)
|
email_body = template.render(context=context)
|
||||||
|
|
||||||
# Do cleanup on the email body. Mostly for emails with custom content.
|
# Do cleanup on the email body. For emails with custom content.
|
||||||
if email_body:
|
if email_body:
|
||||||
email_body.strip().lstrip("\n")
|
email_body.strip().lstrip("\n")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue