Skip to content

Commit

Permalink
internetstandards#881 fix format str
Browse files Browse the repository at this point in the history
  • Loading branch information
uwekamper committed Feb 12, 2024
1 parent 643144c commit 49b432b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/tasks/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ def tlsrpt_callback(data, status, r):
def resolve_tlsrpt_record(url, task):
# Make sure, url does not start with a dot, then add "_smtp._tls." in front
# of the domain name.
tls_rpt_url = f'_smtp._tls.{url.lstrip('.')}'
tls_rpt_url = f'_smtp._tls.{url.lstrip(".")}'
return task.async_resolv(url, unbound.RR_TYPE_TXT, callback=tlsrpt_callback)


Expand Down

0 comments on commit 49b432b

Please sign in to comment.