summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jfr_playoff/data.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index d9eb314..9f9a0c2 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -90,8 +90,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)