From 1adb200c543738c4e375c0f3edd6047fef94cd0c Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 17 Jun 2024 09:50:22 +0200 Subject: [PATCH] Fix walk out issue --- tournaments/models/match.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/models/match.py b/tournaments/models/match.py index 8c25c8d..c8b5e69 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -215,7 +215,7 @@ class LiveMatch: def add_team(self, team): self.teams.append(team) - if team.walk_out is not None: + if team.walk_out is True: self.has_walk_out = True def to_dict(self):