From 1f4140fb6da630a13ab249f65c6a466870b19f31 Mon Sep 17 00:00:00 2001 From: Tim Sutton Date: Wed, 20 Nov 2024 09:59:06 +0000 Subject: [PATCH] Items incorrectly marked as failed when they have never run Fixes #629 --- geest/core/json_tree_item.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geest/core/json_tree_item.py b/geest/core/json_tree_item.py index 6ffb06d..e1e54a8 100644 --- a/geest/core/json_tree_item.py +++ b/geest/core/json_tree_item.py @@ -219,6 +219,8 @@ def getStatus(self): return "Not configured (optional)" if "Not run" in data.get("result", "") and not data.get("result_file", ""): return "Configured, not run" + if not data.get("result", False): + return "Configured, not run" if "Workflow Completed" not in data.get("result", ""): return "Workflow failed" if "Workflow Completed" in data.get("result", "") and not data.get(