Skip to content

Commit 2490b0c

Browse files
authored
Merge pull request #8 from sparkfun/release_candidate
v1.2.0
2 parents 554b33f + 299b3e8 commit 2490b0c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

SparkFunKiCadBOMGenerator/plugin.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ def Run(self):
100100
if not head_tail[1].isnumeric():
101101
prod_id = ">> INVALID <<"
102102
uniqueRef = name + val + prod_id
103-
if hasProdID and not sourceModule.IsDNP():
103+
DNP = False
104+
if self.baseVersion >= '8':
105+
DNP = sourceModule.IsDNP()
106+
if hasProdID and not DNP:
104107
if "EMPTY" not in prod_id and "INVALID" not in prod_id:
105108
prodIdNum = prod_id.split("-")[1]
106109
while prodIdNum[0] == "0":
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.1"
1+
__version__ = "1.2.0"

0 commit comments

Comments
 (0)