From 288e7a9b7b480e13b229485f79eda7793274cbee Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Fri, 11 Nov 2022 12:31:54 +0100 Subject: [PATCH] fixed bug --- src/url_to_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url_to_path.py b/src/url_to_path.py index 046d5d5..5892277 100644 --- a/src/url_to_path.py +++ b/src/url_to_path.py @@ -7,7 +7,7 @@ def unhide(part: str): if len(part) == 0: return "" if part[0] == ".": - return part.replace(".", UNHIDE_CHAR) + return part.replace(".", UNHIDE_CHAR, 1) return part