diff --git a/kibom/component.py b/kibom/component.py index da9cc18..5afec29 100755 --- a/kibom/component.py +++ b/kibom/component.py @@ -354,7 +354,8 @@ def isFitted(self): # First, check for the 'dnp' attribute (added in KiCad 7.0) for child in self.element.getChildren(): if child.name == 'property': - if child.attributes.get('name', '').lower() == 'dnp': + name = child.attributes.get('name', '').lower() + if name == 'dnp' or name == 'exclude_from_bom': return False # Check the value field first