Skip to content

Commit e0481e9

Browse files
committed
Fix kicad dnp detection for nightly
1 parent c77c74a commit e0481e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

InteractiveHtmlBom/ecad/kicad.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ def get_footprint_fields(f):
4545
if "dnp" in props and props["dnp"] == "":
4646
del props["dnp"]
4747
props["kicad_dnp"] = "DNP"
48+
if hasattr(f, "IsDNP"):
49+
if f.IsDNP():
50+
props["kicad_dnp"] = "DNP"
4851
return props
4952

5053
def parse_extra_data_from_pcb(self):

0 commit comments

Comments
 (0)