From 542310f5ca537c37f793f8153f43bda0c9229b5c Mon Sep 17 00:00:00 2001 From: Son Date: Tue, 2 Nov 2021 10:58:51 +0100 Subject: [PATCH] refactor: rename file --- email_handler.py | 2 +- .../transactional/{reply-error.txt => reply-error.txt.jinja2} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/emails/transactional/{reply-error.txt => reply-error.txt.jinja2} (100%) diff --git a/email_handler.py b/email_handler.py index ba546800..fb39fabc 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1089,7 +1089,7 @@ def handle_reply(envelope, msg: Message, rcpt_to: str) -> (bool, str): mailbox.email, f"Email cannot be sent to {contact.email} from {alias.email}", render( - "transactional/reply-error.txt", + "transactional/reply-error.txt.jinja2", user=user, alias=alias, contact=contact, diff --git a/templates/emails/transactional/reply-error.txt b/templates/emails/transactional/reply-error.txt.jinja2 similarity index 100% rename from templates/emails/transactional/reply-error.txt rename to templates/emails/transactional/reply-error.txt.jinja2