Don't count .disabled as duplicate

This commit is contained in:
kijai
2026-05-24 16:07:12 +03:00
parent 126819826a
commit 088128b224
+2 -1
View File
@@ -703,8 +703,9 @@ def check_duplicate_nodes():
# Check all directories in custom_nodes
for path in custom_nodes_dir.iterdir():
if (path.is_dir() and
if (path.is_dir() and
path != current_path and
not path.name.endswith('.disabled') and
'wanvideo' in path.name.lower() and
'wrapper' in path.name.lower()):
wanvideo_dirs.append(str(path))