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.
This commit is contained in:
dchatel 2025-01-12 14:09:38 +01:00 committed by GitHub
parent 90f349f93d
commit 8c9b7bd00f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))