summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-01-05 13:50:05 +0100
committeremkael <emkael@tlen.pl>2020-01-05 13:50:05 +0100
commit856cf764545362dd43cd2f304bd73c4594e1e6e8 (patch)
tree25b7d89758934c1505d4a4775cbace45491b61ea /jfr_playoff/gui/tabs.py
parent8ec9f68131ff3ff6f3dab3af5f27fa25e6d66f45 (diff)
If team list source tournament is not finished, predict_teams settings is respected
Fixes #44
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index 67a3dbe..cc8a291 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -219,7 +219,7 @@ class TeamsTab(PlayoffTab):
db = PlayoffDB(dbConfig)
except Exception:
pass
- self._teamList = data.fetch_team_list(config['teams'], db)
+ self._teamList = data.fetch_team_list(config['teams'], db)[0]
self.winfo_toplevel().event_generate(
'<<TeamListChanged>>', when='tail')