Fix imports

This commit is contained in:
zandercymatics 2024-07-03 09:27:55 -06:00
parent 87c7a4dba2
commit 4bdf2cbe8f
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 4 additions and 4 deletions

View file

@ -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")