summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/gui/frames/team.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/gui/frames/team.py b/jfr_playoff/gui/frames/team.py
index 510d021..6ae5ad3 100644
--- a/jfr_playoff/gui/frames/team.py
+++ b/jfr_playoff/gui/frames/team.py
@@ -389,7 +389,7 @@ class TeamPreviewFrame(ScrollableFrame):
label.destroy()
self.teamList.delete(*self.teamList.get_children())
for idx, team in enumerate(teams):
- if team[2] is None:
+ if len(team) > 2 and team[2] is None:
team[2] = ''
self.teamList.insert('', tk.END, values=team, tag=idx)
if idx >= len(self.tieFields):