From e0934705f8f3ee4e23fc538c5e8da9f4d07a5063 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 2 Jun 2019 23:39:45 +0200 Subject: Fixing incorrectly named variable --- jfr_playoff/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jfr_playoff') 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!') -- cgit v1.2.3