mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-16 16:43:36 +00:00
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:
parent
90f349f93d
commit
8c9b7bd00f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user