From 75819d97807f76b21e1e5f37c77f2a07c0219cf3 Mon Sep 17 00:00:00 2001 From: daovietanh99 Date: Tue, 30 Jan 2024 16:34:30 +0700 Subject: [PATCH] convert dict to xlxs --- cope2n-api/fwd_api/utils/file.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cope2n-api/fwd_api/utils/file.py b/cope2n-api/fwd_api/utils/file.py index 44a2e9b..266a038 100644 --- a/cope2n-api/fwd_api/utils/file.py +++ b/cope2n-api/fwd_api/utils/file.py @@ -419,7 +419,6 @@ def dict2xlsx(input: json): for key in mapping.keys(): value = get_value(record, mapping[key]) ws[key + str(start_index)] = value - print(type(value)) if 'average_accuracy_rate' in mapping[key] and type(value) in [int, float] and value < 95: ws[key + str(start_index)].style = normal_cell_red elif 'average_processing_time' in mapping[key] and type(value) in [int, float] and value > 2.0: