diff --git a/server/nightr/strategies/just_eat.py b/server/nightr/strategies/just_eat.py index aa074e9..1f550e2 100644 --- a/server/nightr/strategies/just_eat.py +++ b/server/nightr/strategies/just_eat.py @@ -33,7 +33,7 @@ def is_restaurant_open(name, open, close) -> Prediction: p.probability = 1 / 11 else: p.reasons.append(f"Our favorite pizza place, {name}, is closed.") - p.reasons.append(f"We can conclude from this, that there is {1 - (1/11)}% chance of it currently being night outside!") + p.reasons.append(f"We can conclude from this, that there is {1 - (1/11):.1f}% chance of it currently being night outside!") p.probability = round(1 - (1 / 11), 2) return p