From 8d12237ac793227faa2bb84aab32f17443549e61 Mon Sep 17 00:00:00 2001 From: Mantvydas Deltuva Date: Thu, 5 Sep 2024 01:04:43 +0300 Subject: [PATCH] MDE/PKFE-32 bug-fix --- app/back-end/src/routes/workspace_aggregate_route.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/back-end/src/routes/workspace_aggregate_route.py b/app/back-end/src/routes/workspace_aggregate_route.py index 87a245d..4db5cf6 100644 --- a/app/back-end/src/routes/workspace_aggregate_route.py +++ b/app/back-end/src/routes/workspace_aggregate_route.py @@ -104,11 +104,7 @@ def get_workspace_aggregate_all(relative_path): or header_values[field] == float("-inf") or ( header_values[field] == float(0) - and ( - header_actions[field] != "min" - or header_actions[field] != "max" - or header_actions[field] != "cnt" - ) + and header_actions[field] not in ["min", "max", "cnt"] ) else ( str(int(header_values[field]))