diff options
author | emkael <emkael@tlen.pl> | 2019-06-06 19:09:02 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-06 19:09:02 +0200 |
commit | 3c87b02671ebaaa1f6e06c312b910de0de9f4d81 (patch) | |
tree | f589c9a6929b7fa35a653adabce12a0004058a45 /jfr_playoff/gui/frames/team.py | |
parent | c5c3860551ee8e87603a2f41a0fd08dde64c900f (diff) |
Not displaying "None" in team preview list
Diffstat (limited to 'jfr_playoff/gui/frames/team.py')
-rw-r--r-- | jfr_playoff/gui/frames/team.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jfr_playoff/gui/frames/team.py b/jfr_playoff/gui/frames/team.py index e316cec..abeb56f 100644 --- a/jfr_playoff/gui/frames/team.py +++ b/jfr_playoff/gui/frames/team.py @@ -313,6 +313,8 @@ class TeamPreviewFrame(ScrollableFrame): label.destroy() self.teamList.delete(*self.teamList.get_children()) for idx, team in enumerate(teams): + if team[2] is None: + team[2] = '' self.teamList.insert('', tk.END, values=team, tag=idx) if idx >= len(self.tieFields): self.tieValues.append(tk.StringVar()) |