From c0a69ad2a8b6908d8a156778c1dc532088c38d2f Mon Sep 17 00:00:00 2001 From: 64Core <64core@pm.me> Date: Fri, 24 Mar 2023 18:33:35 -0500 Subject: [PATCH] Fix linting conflicts --- itchiodl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itchiodl/utils.py b/itchiodl/utils.py index 8296fea..1a20de8 100644 --- a/itchiodl/utils.py +++ b/itchiodl/utils.py @@ -43,7 +43,7 @@ def clean_path(path): path_clean = re.sub(r"[<>:|?*\"\/\\]", "-", path) # This checks for strings that end in ... or similar, # weird corner case that affects fewer than 0.1% of titles - path_clean = re.sub(r'(.)[.]\1+$', "-", path_clean) + path_clean = re.sub(r"(.)[.]\1+$", "-", path_clean) return path_clean return path