From 517c77653d0a3aff0b657ea489bdc1a9b01d00ac Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Tue, 2 Jul 2024 14:05:01 +0200 Subject: [PATCH] remove some prints Signed-off-by: Frank Villaro-Dixon --- import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: