From a89cb77aaad6a26ec5ee1751d1ab0aa6121c69f9 Mon Sep 17 00:00:00 2001 From: "etienne.frank" Date: Mon, 17 Sep 2018 10:39:29 +0200 Subject: [PATCH] Fix format of charge time --- extraction/extract_item_into_dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extraction/extract_item_into_dict.py b/extraction/extract_item_into_dict.py index 1e3ad38..61d409c 100644 --- a/extraction/extract_item_into_dict.py +++ b/extraction/extract_item_into_dict.py @@ -37,7 +37,7 @@ def extract_charge_from_item(item): dict_item["current_charge"] = item[3][0][0][3][0] # Current measured at charger (Amps) floats dict_item["voltage_charge"] = item[3][0][0][4][0] # Voltage measured at charger (Volts) floats # MEH - dict_item["time"] = item[3][0][0][5] # Time vector for the cycle (secs) floats + dict_item["time"] = item[3][0][0][5][0] # Time vector for the cycle (secs) floats return dict_item -- GitLab