diff options
author | emkael <emkael@tlen.pl> | 2023-02-12 15:47:43 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2023-02-12 15:47:43 +0100 |
commit | 8272cf20a6c207cd362e8d41cec2c086529b271e (patch) | |
tree | 1efc81c3f1ab8a14d897ff4d04bbf966e6a02724 /jfr_playoff/data/info.py | |
parent | caf920e8fc93226c35b75537196f7701ec0c6b5c (diff) |
Correctly compiling list of possible teams when `place` teams are mixed with `winner`/`loser` teams
Fixes #53
Diffstat (limited to 'jfr_playoff/data/info.py')
-rw-r--r-- | jfr_playoff/data/info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jfr_playoff/data/info.py b/jfr_playoff/data/info.py index dd2d385..7b2b9f4 100644 --- a/jfr_playoff/data/info.py +++ b/jfr_playoff/data/info.py @@ -203,10 +203,10 @@ class MatchInfo(ResultInfo): for place in self.config['teams'][i]['place']] if self._starting_positions_certain: match_teams += placed_teams - possible_teams = [None] * len(placed_teams) + possible_teams += [None] * len(placed_teams) else: possible_teams += placed_teams - match_teams = [None] * len(placed_teams) + match_teams += [None] * len(placed_teams) teams[i].name = match_teams teams[i].possible_name = possible_teams teams[i].unknown_teams = len([team for team in match_teams if team is None]) |