From 7e1d1ab2edc23bbb7aafa7e12a17bda844bf4896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Thu, 13 Jun 2024 22:15:33 +0200 Subject: [PATCH] wip --- extensions/sssd/io/postprocess/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sssd/io/postprocess/search.py b/extensions/sssd/io/postprocess/search.py index a82bd03..1e7a29d 100644 --- a/extensions/sssd/io/postprocess/search.py +++ b/extensions/sssd/io/postprocess/search.py @@ -55,7 +55,7 @@ def build_search_index(app, exception): docs = [] for path in glob.glob(f'{build_dir}/**/*.html', recursive=True): - relpath = path[len(build_dir) + 1:] + relpath = path[len(str(build_dir)) + 1:] if relpath in exclude_pages: continue