This commit is contained in:
King Kévin 2014-04-02 17:14:05 +02:00
parent 74432397d3
commit 347c011ef6
1 changed files with 2 additions and 2 deletions

View File

@ -158,12 +158,12 @@ def bom2(schematic, attributes)
csv = CSV.parse(list,:col_sep => ":")
csv[1..-1].each do |row|
line = {}
line.each_index do |col|
row.each_index do |col|
line[csv[0][col]] = row[col] unless row[col]=="unknown"
end
to_return << line
end
return csv
return to_return
end
# ===============