diff --git a/python/httpAPI.py b/python/httpAPI.py index 7f793fd..f4cf375 100644 --- a/python/httpAPI.py +++ b/python/httpAPI.py @@ -21,7 +21,7 @@ def run(port, parser): def health(): try: count, avgPred = db.check() - return ("Rounds: {}, AvgPrediction (lower than 0.5 is good): {}".format(count, avgPred), 500) + return ("Rounds: {}, AvgPrediction (lower than 0.5 is good): {}".format(count, avgPred), 200) except AssertionError as e: return ("{}".format(e), 200)