1

Exclut les minifigs des réutilisations de têtes

This commit is contained in:
Richard Dern 2025-12-03 23:04:49 +01:00
parent a976b57afe
commit 99d47bec6a

View File

@ -31,6 +31,8 @@ def build_head_presence(
parts_by_inventory = index_inventory_parts_by_inventory(inventory_parts_path)
presence: Dict[str, Set[str]] = {}
for set_num, inventory in inventories.items():
if set_num.startswith("fig-"):
continue
parts = parts_by_inventory.get(inventory["id"], [])
for part_row in parts:
if part_row["part_num"] not in head_parts: