diff --git a/eeschema/plugins/python_scripts/bom_csv_grouped_by_value_with_fp.py b/eeschema/plugins/python_scripts/bom_csv_grouped_by_value_with_fp.py index d707f14f59..a32c9c18b1 100644 --- a/eeschema/plugins/python_scripts/bom_csv_grouped_by_value_with_fp.py +++ b/eeschema/plugins/python_scripts/bom_csv_grouped_by_value_with_fp.py @@ -65,6 +65,9 @@ for group in grouped: refs += fromNetlistText( component.getRef() ) + ", " c = component + # remove last, not needed trailing comma and whitespace + refs = refs.removesuffix(', ') + # Fill in the component groups common data out.writerow([refs, len(group), fromNetlistText( c.getValue() ),