mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 21:57:05 +08:00
fix ignore arg in load_custom_node signature
This commit is contained in:
parent
9b112c7fa5
commit
a441bae96f
3
nodes.py
3
nodes.py
@ -1885,8 +1885,7 @@ def _load_custom_node(ext_mod, ext_mod_name, ignore, ext_mod_dir=None):
|
|||||||
logging.warning(f"Skip loading custom nodes from {ext_mod_name}. No NODE_CLASS_MAPPINGS found in module.")
|
logging.warning(f"Skip loading custom nodes from {ext_mod_name}. No NODE_CLASS_MAPPINGS found in module.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def load_custom_node(ext_mod_path, ignore):
|
def load_custom_node(ext_mod_path, ignore=set()):
|
||||||
ext_mod_name = os.path.basename(ext_mod_path)
|
|
||||||
if os.path.isfile(ext_mod_path):
|
if os.path.isfile(ext_mod_path):
|
||||||
ext_mod_name, *_ = os.path.splitext(ext_mod_path)
|
ext_mod_name, *_ = os.path.splitext(ext_mod_path)
|
||||||
ext_mod_name = NORMALIZE_MOD_NAME(ext_mod_name)
|
ext_mod_name = NORMALIZE_MOD_NAME(ext_mod_name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user