diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-09-23 20:54:21 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-09-23 20:54:21 +0200 |
commit | 33a03ca8cb65202509bd009832010f8f587ace47 (patch) | |
tree | 6ad59f51c67cc9800bcfce28eb963a3615f7de0a /src/ee | |
parent | f63fd3e53172edc0eaff3abe0f3dfbc40edf2341 (diff) | |
download | ee-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')
-rw-r--r-- | src/ee/kicad/to_bom.py | 2 |
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 |