mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Fix typo in cv.url_no_path (#129402)
This commit is contained in:
parent
f3afa6a7d9
commit
2236ca3e12
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user