summaryrefslogtreecommitdiff
path: root/jfr_playoff/data
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2023-02-08 12:12:50 +0100
committeremkael <emkael@tlen.pl>2023-02-08 12:12:50 +0100
commitade973c25ca403c5385983f42fbf60c906e25b9b (patch)
tree76c01bd97743c36d3568fc8638982ac55fb0fa9c /jfr_playoff/data
parent4c297358a15cbbaa4fbb00da468f85d91fcc68f5 (diff)
Fetching selected team name in DTO object
Diffstat (limited to 'jfr_playoff/data')
-rw-r--r--jfr_playoff/data/info.py2
1 files changed, 1 insertions, 1 deletions
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: