diff --git a/application/web/web_main.py b/application/web/web_main.py index 1eff72b4c..75deab6dd 100644 --- a/application/web/web_main.py +++ b/application/web/web_main.py @@ -309,7 +309,7 @@ def fetch_job() -> Any: ga_result = result.return_value logger.info("and has results") - if len(ga_result) == 2: + if len(ga_result) > 1: standards = ga_result[0] standards_hash = make_array_hash(standards) @@ -326,8 +326,6 @@ def fetch_job() -> Any: "Finished job does not have a result object, this is a bug!" ) abort(500, "this is a bug, please raise a ticket") - from pprint import pprint - pprint(ga_result) return jsonify({"status": res.get_status()}) elif res.latest_result().type == result.Type.FAILED: logger.error(res.latest_result().exc_string)