From 33a03ca8cb65202509bd009832010f8f587ace47 Mon Sep 17 00:00:00 2001
From: Trygve Laugstøl <trygvis@inamo.no>
Date: Sat, 23 Sep 2017 20:54:21 +0200
Subject: o Ignoring FLG type components when making bom.

---
 src/ee/kicad/to_bom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/ee')

diff --git a/src/ee/kicad/to_bom.py b/src/ee/kicad/to_bom.py
index 634547a..d684486 100644
--- a/src/ee/kicad/to_bom.py
+++ b/src/ee/kicad/to_bom.py
@@ -42,6 +42,6 @@ def to_bom(schematic: Schematic) -> Element:
 
     components = Element("components")
     root.append(components)
-    [components.append(comp(c)) for c in sorted(schematic.components) if c.ref_type != "#PWR"]
+    [components.append(comp(c)) for c in sorted(schematic.components) if c.ref_type != "#PWR" and c.ref_type != "#FLG"]
 
     return root
-- 
cgit v1.2.3