mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-07 21:00:49 +08:00
Merge 3f56e64959 into e14f3b6610
This commit is contained in:
commit
6632d621d7
2
main.py
2
main.py
@ -123,8 +123,10 @@ def execute_prestartup_script():
|
||||
return False
|
||||
|
||||
node_paths = folder_paths.get_folder_paths("custom_nodes")
|
||||
node_paths = sorted(node_paths)
|
||||
for custom_node_path in node_paths:
|
||||
possible_modules = os.listdir(custom_node_path)
|
||||
possible_modules = sorted(possible_modules)
|
||||
node_prestartup_times = []
|
||||
|
||||
for possible_module in possible_modules:
|
||||
|
||||
2
nodes.py
2
nodes.py
@ -2239,9 +2239,11 @@ async def init_external_custom_nodes():
|
||||
"""
|
||||
base_node_names = set(NODE_CLASS_MAPPINGS.keys())
|
||||
node_paths = folder_paths.get_folder_paths("custom_nodes")
|
||||
node_paths = sorted(node_paths)
|
||||
node_import_times = []
|
||||
for custom_node_path in node_paths:
|
||||
possible_modules = os.listdir(os.path.realpath(custom_node_path))
|
||||
possible_modules = sorted(possible_modules)
|
||||
if "__pycache__" in possible_modules:
|
||||
possible_modules.remove("__pycache__")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user