1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-03 07:26:31 +08:00

Merge branch 'master' into m957ymj75urz-dynamic-prompting

This commit is contained in:
comfyanonymous
2023-02-20 23:49:55 -05:00
7 changed files with 110 additions and 15 deletions

View File

@@ -759,7 +759,7 @@ def load_custom_nodes():
module_path = os.path.join(CUSTOM_NODE_PATH, possible_module)
if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": continue
module_name = "custom_node_module.{}".format(possible_module)
module_name = possible_module
try:
if os.path.isfile(module_path):
module_spec = importlib.util.spec_from_file_location(module_name, module_path)