better error message
This commit is contained in:
parent
099df2701f
commit
a56395921e
|
@ -166,7 +166,7 @@ with open(src_name + "-all-pos.csv", 'rt') as src_f, open(dst_name + "-CPL.csv",
|
||||||
if (side.lower() == "bottom"):
|
if (side.lower() == "bottom"):
|
||||||
posx = str(-float(posx))
|
posx = str(-float(posx))
|
||||||
if des not in bom:
|
if des not in bom:
|
||||||
print ("Error! Designator " + des + " was not found in the BOM file!")
|
print ("copy_from_Kicad.py: Error! Designator [" + des + "] was not found in the BOM file!")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
if bom[des]:
|
if bom[des]:
|
||||||
for r in rotations:
|
for r in rotations:
|
||||||
|
|
Loading…
Reference in New Issue