From 99d47bec6a4bc649adc3e2d322a8cc31a5ca0442 Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Wed, 3 Dec 2025 23:04:49 +0100 Subject: [PATCH] =?UTF-8?q?Exclut=20les=20minifigs=20des=20r=C3=A9utilisat?= =?UTF-8?q?ions=20de=20t=C3=AAtes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/rebrickable/head_reuse.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rebrickable/head_reuse.py b/lib/rebrickable/head_reuse.py index 3c96b14..ccc97b9 100644 --- a/lib/rebrickable/head_reuse.py +++ b/lib/rebrickable/head_reuse.py @@ -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: