Skip to content

Commit

Permalink
Fixing error in template filling.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEBest committed May 24, 2024
1 parent 5e469d3 commit a4f7a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhrn-functions/packages/dhrn/sendmail/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def main(args):
with open("template.html") as f:
template = Template(f.read())

filled_template = template.render(data=args)
filled_template = template.render(**args)

mail = mt.Mail(
sender=mt.Address(email=MAILTRAP_SENDER_ADDRESS, name="Code For Dayton"),
Expand Down

0 comments on commit a4f7a0a

Please sign in to comment.