From 7830c5ffcf5f372f0a5c3c1f520d20efcb15afce Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 21 Jan 2025 15:20:46 +0100 Subject: [PATCH] Fix crash --- 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 3bc686a..5f63ad6 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -350,7 +350,7 @@ class Match(models.Model): class Team: def __init__(self, id, image, names, scores, weight, is_winner, walk_out): # print(f"image = {image}, names= {names}, scores ={scores}, weight={weight}, win={is_winner}") - self.id = id + self.id = str(id) self.image = image self.names = names self.scores = scores