summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/tournamentinfo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/tournamentinfo.py b/jfr_playoff/tournamentinfo.py
index 45a7752..e992bc9 100644
--- a/jfr_playoff/tournamentinfo.py
+++ b/jfr_playoff/tournamentinfo.py
@@ -176,7 +176,8 @@ class TournamentInfo:
final_positions)
for position in final_positions:
if len(teams) >= position:
- teams[position-1].append(position)
+ teams[position-1] = (teams[position-1] + [None] * 4)[0:4]
+ teams[position-1][3] = position
return teams
def is_finished(self):