Make mypy happy
This commit is contained in:
parent
708c5d6f58
commit
87009c2247
1 changed files with 1 additions and 0 deletions
1
check.py
1
check.py
|
|
@ -36,6 +36,7 @@ class AbsoluteDNSAdapter(HTTPAdapter):
|
|||
|
||||
# Append a dot to the hostname if it's not already there.
|
||||
hostname = parsed_url.host
|
||||
assert hostname
|
||||
if not hostname.endswith("."):
|
||||
hostname += "."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue