Skip to content

Commit

Permalink
Fix kicad dnp detection for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1ck committed Nov 20, 2023
1 parent c77c74a commit e0481e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions InteractiveHtmlBom/ecad/kicad.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def get_footprint_fields(f):
if "dnp" in props and props["dnp"] == "":
del props["dnp"]
props["kicad_dnp"] = "DNP"
if hasattr(f, "IsDNP"):
if f.IsDNP():
props["kicad_dnp"] = "DNP"
return props

def parse_extra_data_from_pcb(self):
Expand Down

0 comments on commit e0481e9

Please sign in to comment.