aboutsummaryrefslogtreecommitdiff
path: root/src/ee/kicad
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-05-23 13:20:02 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-01 14:54:07 +0200
commit16ccbfdc70f9407b0bd600fe600e98ecfae7f198 (patch)
tree7c7437fa39eb1e1903dd5bb9eb6bf6f88e5fb4bb /src/ee/kicad
parent40da2eb8bc5cad1170d689c135e53c6c180ed965 (diff)
downloadee-python-16ccbfdc70f9407b0bd600fe600e98ecfae7f198.tar.gz
ee-python-16ccbfdc70f9407b0bd600fe600e98ecfae7f198.tar.bz2
ee-python-16ccbfdc70f9407b0bd600fe600e98ecfae7f198.tar.xz
ee-python-16ccbfdc70f9407b0bd600fe600e98ecfae7f198.zip
digikey: Better discovery of form for searching.
Diffstat (limited to 'src/ee/kicad')
-rw-r--r--src/ee/kicad/functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ee/kicad/functions.py b/src/ee/kicad/functions.py
index b8ad7f5..76637c3 100644
--- a/src/ee/kicad/functions.py
+++ b/src/ee/kicad/functions.py
@@ -112,7 +112,7 @@ def mpn_strategy(**kwargs):
for field in part.facts.all(sch_fact_types.field):
k, v = re.split(":", field.value, 1)
- if k == "mpn":
+ if k.lower() == "mpn":
part.add_mpn(v)
return part