mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 15:04:50 +08:00
Expand variables in base_path for extra_config_paths.yaml. (#4893)
* Expand variables in base_path for extra_config_paths.yaml. * Fix comments.
This commit is contained in:
@@ -13,7 +13,7 @@ def load_extra_path_config(yaml_path):
|
||||
base_path = None
|
||||
if "base_path" in conf:
|
||||
base_path = conf.pop("base_path")
|
||||
base_path = os.path.expanduser(base_path)
|
||||
base_path = os.path.expandvars(os.path.expanduser(base_path))
|
||||
for x in conf:
|
||||
for y in conf[x].split("\n"):
|
||||
if len(y) == 0:
|
||||
|
Reference in New Issue
Block a user