diff --git a/frappe/email/queue.py b/frappe/email/queue.py index 45abe0374a..2c3e0ee011 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -69,7 +69,7 @@ def get_emails_sent_today(email_account=None): def get_unsubscribe_message( unsubscribe_message: str, expose_recipients: str -) -> frappe._dict[str, str]: +) -> "frappe._dict[str, str]": unsubscribe_message = unsubscribe_message or _("Unsubscribe") unsubscribe_link = f'{unsubscribe_message}' unsubscribe_html = _("{0} to stop receiving emails of this type").format(unsubscribe_link)