convert b param to float from string
This commit is contained in:
@ -17,7 +17,7 @@ def items_csv_to_dict(items_csv_reader):
|
|||||||
if key == 0:
|
if key == 0:
|
||||||
item[col] = row[key]
|
item[col] = row[key]
|
||||||
elif col == 'b_param':
|
elif col == 'b_param':
|
||||||
item[col] = row[key]
|
item[col] = float(row[key])
|
||||||
elif key > 1:
|
elif key > 1:
|
||||||
item['attributes'].append({
|
item['attributes'].append({
|
||||||
'id': col,
|
'id': col,
|
||||||
|
Reference in New Issue
Block a user