diff options
author | emkael <emkael@tlen.pl> | 2018-04-06 00:35:02 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-04-06 00:35:02 +0200 |
commit | b2ff4e729d659b8f1f692746b60e01c5745adec9 (patch) | |
tree | c5a071837ca9b477574946cf5243cd1a1ac55937 /jfr_playoff/data.py | |
parent | c702773679b5b84aa21fe6016ad2fcab8138c50f (diff) |
Allowing swiss results fetch when database is not configured
Diffstat (limited to 'jfr_playoff/data.py')
-rw-r--r-- | jfr_playoff/data.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py index a9c3a0c..78ef1e7 100644 --- a/jfr_playoff/data.py +++ b/jfr_playoff/data.py @@ -79,8 +79,6 @@ class PlayoffData(object): def fill_swiss_leaderboard(self, swiss, teams): teams = [team[0] for team in teams] - if self.database is None: - return for event in swiss: event['ties'] = teams event_info = TournamentInfo(event, self.database) |