mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-14 23:53:30 +00:00
Update extra_config.py
change folders_path.models_dir to the base_path specified in extra_models_path.yaml if set. This ensure that models get correctly uploaded to the specified path across all custom_nodes.
This commit is contained in:
parent
8c9b7bd00f
commit
1a00fb968f
@ -20,6 +20,7 @@ def load_extra_path_config(yaml_path):
|
|||||||
is_default = False
|
is_default = False
|
||||||
if "is_default" in conf:
|
if "is_default" in conf:
|
||||||
is_default = conf.pop("is_default")
|
is_default = conf.pop("is_default")
|
||||||
|
folder_paths.models_dir = base_path
|
||||||
for x in conf:
|
for x in conf:
|
||||||
for y in conf[x].split("\n"):
|
for y in conf[x].split("\n"):
|
||||||
if len(y) == 0:
|
if len(y) == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user