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

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