mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 06:51:34 +01:00
fix wrong return code (?!?)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user