|
|
@ -1326,6 +1326,7 @@ def load_custom_nodes(): |
|
|
|
for possible_module in possible_modules: |
|
|
|
for possible_module in possible_modules: |
|
|
|
module_path = os.path.join(custom_node_path, possible_module) |
|
|
|
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 |
|
|
|
if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": continue |
|
|
|
|
|
|
|
if module_path.endswith(".disabled"): continue |
|
|
|
time_before = time.perf_counter() |
|
|
|
time_before = time.perf_counter() |
|
|
|
success = load_custom_node(module_path) |
|
|
|
success = load_custom_node(module_path) |
|
|
|
node_import_times.append((time.perf_counter() - time_before, module_path, success)) |
|
|
|
node_import_times.append((time.perf_counter() - time_before, module_path, success)) |
|
|
|