diff options
author | emkael <emkael@tlen.pl> | 2019-06-09 15:47:46 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-09 15:47:46 +0200 |
commit | eb6a945a122446d605f147289592ce21f9f7e92f (patch) | |
tree | 592136dd4ab3333e81250be7a69f368c79f38bbb /jfr_playoff/gui/frames/team.py | |
parent | dd422a26175030d66da927f5d97f35012764d56c (diff) |
Bugfix for team list preview when short arrays are fetched from URL
Diffstat (limited to 'jfr_playoff/gui/frames/team.py')
-rw-r--r-- | jfr_playoff/gui/frames/team.py | 2 |
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): |