From ff5e7f310a4b02c07921280a3ee52029d675f878 Mon Sep 17 00:00:00 2001 From: c0de Date: Fri, 9 Dec 2022 23:15:28 -0600 Subject: [PATCH] Sort endgame table by difference --- game/process_guess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/process_guess.py b/game/process_guess.py index 46963f9..3233002 100644 --- a/game/process_guess.py +++ b/game/process_guess.py @@ -47,7 +47,7 @@ class ProcessGuess: & (Guess.guess > 0) & (Guess.player.player_id == Player.player_id) ) - .order_by(Guess.guess) + .order_by(Guess.difference) ) return self.guesses