1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00

Remove surplus double quote

This commit is contained in:
Alexander Graf 2023-11-02 15:58:15 +01:00
parent fa8e8f4f73
commit 901e4a772d
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

View File

@ -79,7 +79,7 @@ def domain_download_zonefile(domain_name):
record = domain.dns_dkim.split('"', 1)[0].strip()
txt = f'v=DKIM1; k=rsa; p={domain.dkim_publickey}'
txt = ' '.join(f'"{txt[p:p+250]}"' for p in range(0, len(txt), 250))
res.append(f'{record} {txt}"')
res.append(f'{record} {txt}')
res.append(domain.dns_dmarc)
if domain.dns_tlsa:
res.append(domain.dns_tlsa)