From 1d0ff9e84aca7377b009069c066f08500d7f3a67 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 6 Mar 2025 08:51:56 +0100 Subject: [PATCH] tox fix --- radicale/httputils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/httputils.py b/radicale/httputils.py index c3dea678..1b653118 100644 --- a/radicale/httputils.py +++ b/radicale/httputils.py @@ -199,7 +199,7 @@ def _serve_traversable( if path == "/.web/index.html" or path == "/.web/": # enable link on the fly in index.html if InfCloud index.html is existing # class="infcloudlink-hidden" -> class="infcloudlink" - path_posix = traversable.as_posix() + path_posix = str(traversable) path_posix_infcloud = path_posix.replace("/internal_data/index.html", "/internal_data/infcloud/index.html") if os.path.isfile(path_posix_infcloud): # logger.debug("Enable InfCloud link in served page: %r", path)