diff options
author | emkael <emkael@tlen.pl> | 2020-01-05 13:50:05 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-01-05 13:50:05 +0100 |
commit | 856cf764545362dd43cd2f304bd73c4594e1e6e8 (patch) | |
tree | 25b7d89758934c1505d4a4775cbace45491b61ea /jfr_playoff/gui | |
parent | 8ec9f68131ff3ff6f3dab3af5f27fa25e6d66f45 (diff) |
If team list source tournament is not finished, predict_teams settings is respected
Fixes #44
Diffstat (limited to 'jfr_playoff/gui')
-rw-r--r-- | jfr_playoff/gui/tabs.py | 2 |
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') |