diff options
author | emkael <emkael@tlen.pl> | 2019-05-29 22:43:22 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-05-29 22:46:20 +0200 |
commit | 30d56e97847a152a5dc1461ab72dfcb3398d0db9 (patch) | |
tree | bf6a1e62b10e5833dd270ebcec80e8db4e9f9880 /jfr_playoff/gui/__init__.py | |
parent | 54bb72f6ee338f53ad34b04eb6ede6c04224b093 (diff) |
Compiling config for fetching teams
Diffstat (limited to 'jfr_playoff/gui/__init__.py')
-rw-r--r-- | jfr_playoff/gui/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jfr_playoff/gui/__init__.py b/jfr_playoff/gui/__init__.py index 79a1fad..5737ab6 100644 --- a/jfr_playoff/gui/__init__.py +++ b/jfr_playoff/gui/__init__.py @@ -15,3 +15,9 @@ class PlayoffGUI(tk.Tk): self.tabs[tab] = globals()[tab](self.notebook) self.notebook.add(self.tabs[tab], text=self.tabs[tab].title) self.mainloop() + + def getDbConfig(self): + return self.tabs['NetworkTab'].getDB() + + def getTeams(self): + return self.tabs['TeamsTab'].getTeams() |