From 16ccbfdc70f9407b0bd600fe600e98ecfae7f198 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 23 May 2019 13:20:02 +0200 Subject: digikey: Better discovery of form for searching. --- src/ee/kicad/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ee/kicad') 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 -- cgit v1.2.3