diff options
author | emkael <emkael@tlen.pl> | 2019-06-02 23:39:45 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-02 23:39:45 +0200 |
commit | e0934705f8f3ee4e23fc538c5e8da9f4d07a5063 (patch) | |
tree | 2808b47903ed6de7a0cb27d1f05d160d99ed3839 | |
parent | 0e1ec567ea1cfffd69cd43816a6b851735a97f99 (diff) |
Fixing incorrectly named variable
-rw-r--r-- | jfr_playoff/data.py | 4 |
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!') |