aboutsummaryrefslogtreecommitdiff
path: root/src/ee/kicad
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-09-23 20:54:21 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-09-23 20:54:21 +0200
commit33a03ca8cb65202509bd009832010f8f587ace47 (patch)
tree6ad59f51c67cc9800bcfce28eb963a3615f7de0a /src/ee/kicad
parentf63fd3e53172edc0eaff3abe0f3dfbc40edf2341 (diff)
downloadee-python-33a03ca8cb65202509bd009832010f8f587ace47.tar.gz
ee-python-33a03ca8cb65202509bd009832010f8f587ace47.tar.bz2
ee-python-33a03ca8cb65202509bd009832010f8f587ace47.tar.xz
ee-python-33a03ca8cb65202509bd009832010f8f587ace47.zip
o Ignoring FLG type components when making bom.
Diffstat (limited to 'src/ee/kicad')
-rw-r--r--src/ee/kicad/to_bom.py2
1 files changed, 1 insertions, 1 deletions
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