Fix profile checker

This commit is contained in:
Noisyfox
2025-10-05 16:46:11 +08:00
parent 42d2965093
commit 63dd696908

View File

@@ -64,6 +64,9 @@ def check_filament_compatible_printers(vendor_folder):
# Use rglob to recursively find .json files.
for file_path in vendor_path.rglob("*.json"):
if file_path.name == 'filaments_color_codes.json': # Ignore non-profile file
continue
try:
with open(file_path, 'r', encoding='UTF-8') as fp:
# Use custom hook to detect duplicates.