hildogjr / KiCost

Build cost spreadsheet for a KiCad project.
MIT License
503 stars 98 forks source link

Fix bug #334 #335

Closed timoalho closed 5 years ago

timoalho commented 5 years ago

Just check if the 'Desc' -key is present, if not, use the 'Value' field, which at least should be.

I added an assert to make diagnosing this a bit easier, if it ever happens that 'Value' might not be present.

hildogjr commented 5 years ago

Thanks to point that, should be related to remove_col_not_exist_parts('desc'). A correct replacement of this call should work. I will check this.

hildogjr commented 5 years ago

Commit accept but after I replaced by a more compact solution.