summaryrefslogtreecommitdiff
path: root/gerbonara
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara')
-rw-r--r--gerbonara/cad/kicad/pcb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/cad/kicad/pcb.py b/gerbonara/cad/kicad/pcb.py
index fce4d0e..6bbcad1 100644
--- a/gerbonara/cad/kicad/pcb.py
+++ b/gerbonara/cad/kicad/pcb.py
@@ -662,9 +662,9 @@ class Board:
for fp in self.footprints:
if name and not match_filter(name, fp.name):
continue
- if value and not match_filter(value, fp.properties.get('value', '')):
+ if value and not match_filter(value, fp.value):
continue
- if reference and not match_filter(reference, fp.properties.get('reference', '')):
+ if reference and not match_filter(reference, fp.reference):
continue
if net and not any(pad.net and match_filter(net, pad.net.name) for pad in fp.pads):
continue