Skip to content

Commit 2ec6d1c

Browse files
Don't import custom nodes when the folder ends with .disabled
1 parent c02a554 commit 2ec6d1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nodes.py

+1
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,7 @@ def load_custom_nodes():
13261326
for possible_module in possible_modules:
13271327
module_path = os.path.join(custom_node_path, possible_module)
13281328
if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": continue
1329+
if module_path.endswith(".disabled"): continue
13291330
time_before = time.perf_counter()
13301331
success = load_custom_node(module_path)
13311332
node_import_times.append((time.perf_counter() - time_before, module_path, success))

0 commit comments

Comments
 (0)