summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index c506605..95017a2 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -27,12 +27,12 @@ class PlayoffData(object):
self.match_info = {}
self.leaderboard = []
- def fetch_team_list(self, settings, db_settings):
+ def fetch_team_list(self, settings, db_interface):
if isinstance(settings, list):
PlayoffLogger.get('data').info(
'team list pre-defined: %s', settings)
return settings
- tournament_info = TournamentInfo(settings, db_settings)
+ tournament_info = TournamentInfo(settings, db_interface)
team_list = tournament_info.get_tournament_results()
if len(team_list) == 0:
PlayoffLogger.get('data').warning('team list is empty!')