4.34.3
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2023-08-29 20:20:00 +01:00
parent df59d73d66
commit 246754872d
2 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def load_eml_file(
if not template_values:
template_values = {}
rendered = template.render(**template_values)
return email.message_from_string(rendered)
return email.message_from_bytes(rendered.encode("utf-8"))
def random_email() -> str: