mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-11 22:26:42 +08:00
Expand user path.
This commit is contained in:
parent
cd4955367e
commit
f52129e90e
1
main.py
1
main.py
@ -190,6 +190,7 @@ def load_extra_path_config(yaml_path):
|
|||||||
base_path = None
|
base_path = None
|
||||||
if "base_path" in conf:
|
if "base_path" in conf:
|
||||||
base_path = conf.pop("base_path")
|
base_path = conf.pop("base_path")
|
||||||
|
base_path = os.path.expanduser(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…
x
Reference in New Issue
Block a user