diff options
-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 354d9ba..6cce5a5 100644 --- a/src/ee/kicad/to_bom.py +++ b/src/ee/kicad/to_bom.py @@ -44,7 +44,7 @@ def to_bom(schematic: Union[Schematic, Schematics], require_ref=True) -> Iterabl if require_ref and not c.has_ref_num: continue - if c.ref_type in bad_ref_types: + if c.has_ref_num and c.ref_type in bad_ref_types: continue cs.append(c) |