parent
7795294175
commit
86dfef68c1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue