summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/cad/kicad')
-rw-r--r--gerbonara/cad/kicad/pcb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/pcb.py b/gerbonara/cad/kicad/pcb.py
index e3c9ede..90845e6 100644
--- a/gerbonara/cad/kicad/pcb.py
+++ b/gerbonara/cad/kicad/pcb.py
@@ -672,7 +672,7 @@ class Board:
continue
if reference and not match_filter(reference, fp.properties.get('reference', '')):
continue
- if net and not any(match_filter(net, pad.net.name) for pad in fp.pads):
+ if net and not any(pad.net and match_filter(net, pad.net.name) for pad in fp.pads):
continue
if sheetname and not match_filter(sheetname, fp.sheetname):
continue