Skip to content
Draft

Beta #20

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ def execute_script(script_path):

node_paths = folder_paths.get_folder_paths("custom_nodes")
for custom_node_path in node_paths:
possible_modules = os.listdir(custom_node_path)
possible_modules = sorted(os.listdir(custom_node_path))
print("!!!possible_modules1!!!:\n" + "\n".join(possible_modules))
node_prestartup_times = []

for possible_module in possible_modules:
Expand Down
3 changes: 2 additions & 1 deletion nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,8 @@ async def init_external_custom_nodes():
node_paths = folder_paths.get_folder_paths("custom_nodes")
node_import_times = []
for custom_node_path in node_paths:
possible_modules = os.listdir(os.path.realpath(custom_node_path))
possible_modules = sorted(os.listdir(os.path.realpath(custom_node_path)))
print("!!!possible_modules2!!!:\n" + "\n".join(possible_modules))
if "__pycache__" in possible_modules:
possible_modules.remove("__pycache__")

Expand Down
Loading