Fix typo in cv.url_no_path (#129402)

This commit is contained in:
Erik Montnemery 2024-10-29 12:06:59 +01:00 committed by GitHub
parent f3afa6a7d9
commit 2236ca3e12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -874,7 +874,7 @@ def url_no_path(value: Any) -> str:
url_in = url(value)
if urlparse(url_in).path not in ("", "/"):
raise vol.Invalid("url it not allowed to have a path component")
raise vol.Invalid("url is not allowed to have a path component")
return url_in