diff --git a/spcd/util.py b/spcd/util.py index 962d6fe..f4710b2 100644 --- a/spcd/util.py +++ b/spcd/util.py @@ -8,6 +8,7 @@ from rwx.log import stream as log def add_url_path(url: str, extra_path: str) -> str: + """Append an extra segment to an existing URL.""" parts = urlparse(url) parts = parts._replace(path=str(Path(parts.path) / extra_path)) return urlunparse(parts)