Skip to content
Snippets Groups Projects
Commit 650bee86 authored by Martin Mareš's avatar Martin Mareš
Browse files

DSN: Oprava chyby v matchování adresy

parent 9870b214
Branches
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ class DSN: ...@@ -70,7 +70,7 @@ class DSN:
if to is None: if to is None:
return None return None
std_from = email.headerregistry.Address(addr_spec=config.MAIL_CONTACT) std_from = email.headerregistry.Address(addr_spec=config.MAIL_FROM)
for addr in to.addresses: for addr in to.addresses:
if m := re.fullmatch(r'([^+]+)\+(.*)', addr.username): if m := re.fullmatch(r'([^+]+)\+(.*)', addr.username):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment