From 856cf764545362dd43cd2f304bd73c4594e1e6e8 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 5 Jan 2020 13:50:05 +0100 Subject: If team list source tournament is not finished, predict_teams settings is respected Fixes #44 --- jfr_playoff/gui/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jfr_playoff/gui') 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( '<>', when='tail') -- cgit v1.2.3