Commit 79888576 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

tools: imporve compare_BOM

parent 17fc22a9
...@@ -27,7 +27,7 @@ def read_BOM(f): ...@@ -27,7 +27,7 @@ def read_BOM(f):
'infos': row["Infos"] 'infos': row["Infos"]
} }
for comp in row["Designator"].split(','): for comp in row["Designator"].split(','):
c[comp] = infos c[comp.strip()] = infos
return c return c
def dict_compare(d1, d2): def dict_compare(d1, d2):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment