From 8c9b7bd00f2698ddb29f825c407946beec9c18dd Mon Sep 17 00:00:00 2001 From: dchatel Date: Sun, 12 Jan 2025 14:09:38 +0100 Subject: [PATCH] Update extra_config.py added path normalization to full_path. needed to ensure that line 204 in folder_paths.py: `if full_folder_path in paths:` works properly on all OS. --- utils/extra_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/extra_config.py b/utils/extra_config.py index d7b59285..fc47b62c 100644 --- a/utils/extra_config.py +++ b/utils/extra_config.py @@ -26,7 +26,7 @@ def load_extra_path_config(yaml_path): continue full_path = y if base_path: - full_path = os.path.join(base_path, full_path) + full_path = os.path.normpath(os.path.join(base_path, full_path)) elif not os.path.isabs(full_path): full_path = os.path.abspath(os.path.join(yaml_dir, y)) logging.info("Adding extra search path {} {}".format(x, full_path))