From ade973c25ca403c5385983f42fbf60c906e25b9b Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 8 Feb 2023 12:12:50 +0100 Subject: Fetching selected team name in DTO object --- jfr_playoff/data/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jfr_playoff/data') diff --git a/jfr_playoff/data/info.py b/jfr_playoff/data/info.py index 6e6f36c..b7e7935 100644 --- a/jfr_playoff/data/info.py +++ b/jfr_playoff/data/info.py @@ -268,7 +268,7 @@ class MatchInfo(ResultInfo): if (self.info.teams[0].known_teams == 1) \ and (self.info.teams[1].known_teams == 1): teams = [ - team.name[max(0, team.selected_team)] + team.selected_name for team in self.info.teams ] if self.info.running == -1: -- cgit v1.2.3