From f42999199a69528154e99ac941bb04dc9a8d0309 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 25 Mar 2024 16:59:00 +0100 Subject: [PATCH] `pj` now normalize path. --- kiwixbuild/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kiwixbuild/utils.py b/kiwixbuild/utils.py index 1cdc990..322eccc 100644 --- a/kiwixbuild/utils.py +++ b/kiwixbuild/utils.py @@ -13,7 +13,9 @@ from collections import namedtuple, defaultdict from kiwixbuild._global import neutralEnv, option -pj = os.path.join + +def pj(*args): + return os.path.normpath(os.path.join(*args)) COLORS = {