aboutsummaryrefslogtreecommitdiff
path: root/src/ee/kicad
diff options
context:
space:
mode:
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