diff --git a/import.py b/import.py index 5c0f739..745bccf 100644 --- a/import.py +++ b/import.py @@ -39,7 +39,7 @@ def get_data(ts_start: int, ts_end: int, device_id: str, module_id: str, metrics data = response.json()['body'] for el in data: - print("\n\n") + #print("\n\n") ts = el['beg_time'] for vals in el['value']: for ielem in range(len(vals)): @@ -49,7 +49,7 @@ def get_data(ts_start: int, ts_end: int, device_id: str, module_id: str, metrics res_vals = res.get(metric, {}) res_vals[ts] = val res[metric] = res_vals - print(f'{ts}: {metric} = {val}') + #print(f'{ts}: {metric} = {val}') if 'step_time' in el: ts += el['step_time'] else: