Skip to content

Commit

Permalink
add optional tls to redis, heroku requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 23, 2023
1 parent a086e4f commit cda463f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions application/web/web_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down

0 comments on commit cda463f

Please sign in to comment.