mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
Fix imports
This commit is contained in:
parent
87c7a4dba2
commit
4bdf2cbe8f
3 changed files with 4 additions and 4 deletions
|
@ -45,6 +45,8 @@ def send_templated_email(
|
|||
|
||||
template = get_template(template_name)
|
||||
email_body = template.render(context=context)
|
||||
|
||||
# Do cleanup on the email body. Mostly for emails with custom content.
|
||||
if email_body:
|
||||
email_body.strip().lstrip("\n")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue