From 8121ec0a849bb82bd24b5fc42896ae95bf98a5e7 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 1 Mar 2026 08:54:32 +0100 Subject: [PATCH] Fix indentation for raising CollidingPathError --- radicale/pathutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/pathutils.py b/radicale/pathutils.py index 1be03232..fc6504b8 100644 --- a/radicale/pathutils.py +++ b/radicale/pathutils.py @@ -287,8 +287,8 @@ def path_to_filesystem(root: str, sane_path: str) -> str: # Check for conflicting files (e.g. case-insensitive file systems # or short names on Windows file systems) if (os.path.lexists(safe_path) and - not os.path.realpath(safe_path).endswith(part)): - raise CollidingPathError(part) + not os.path.realpath(safe_path).endswith(part)): + raise CollidingPathError(part) return safe_path