parts
All checks were successful
/ job (push) Successful in 9m2s

This commit is contained in:
Marc Beninca 2024-07-14 22:08:51 +02:00
parent 7795294175
commit 86dfef68c1
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -9,7 +9,7 @@ from rwx.log import stream as log
def add_url_path(url: str, extra_path: str) -> str: def add_url_path(url: str, extra_path: str) -> str:
parts = urlparse(url) parts = urlparse(url)
parts._replace(path=str(Path(parts.path) / extra_path)) parts = parts._replace(path=str(Path(parts.path) / extra_path))
return urlunparse(parts) return urlunparse(parts)