1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Temporary revert.

This commit is contained in:
comfyanonymous
2024-07-04 21:09:05 -04:00
parent 0e3dfd9e34
commit 720b17442d

View File

@@ -1913,7 +1913,7 @@ def get_module_name(module_path: str) -> str:
def load_custom_node(module_path, ignore=set()):
module_name = get_module_name(module_path)
module_name = os.path.basename(module_path)
try:
logging.debug("Trying to load custom node {}".format(module_path))
if os.path.isfile(module_path):