fix: 🐛 handle missing submodules
the nodes should never fail to load completely. I still need to remove the few remaining side effects like this one.
This commit is contained in:
committed by
Mel Massadian
parent
6851da6638
commit
d61da30409
@@ -513,9 +513,10 @@ font_path = here / "data" / "font.ttf"
|
||||
extern_root = here / "extern"
|
||||
add_path(extern_root)
|
||||
|
||||
for pth in extern_root.iterdir():
|
||||
if pth.is_dir():
|
||||
add_path(pth)
|
||||
if extern_root.exists():
|
||||
for pth in extern_root.iterdir():
|
||||
if pth.is_dir():
|
||||
add_path(pth)
|
||||
|
||||
# - Add the ComfyUI directory and custom nodes path to the sys.path list
|
||||
add_path(comfy_dir)
|
||||
|
||||
Reference in New Issue
Block a user