summaryrefslogtreecommitdiff
path: root/jfr_playoff/data.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-04-06 00:39:31 +0200
committeremkael <emkael@tlen.pl>2018-04-06 00:39:31 +0200
commita37ddf5a3d82fe56b42d586d8ed1d0952d006647 (patch)
tree078212f55b09a02d7171dba932113e41d06f40e6 /jfr_playoff/data.py
parent9b8e34179f2dc17cecb290f8573ad3b57e7178c5 (diff)
parentb2ff4e729d659b8f1f692746b60e01c5745adec9 (diff)
Merge branch 'master' into devel
Diffstat (limited to 'jfr_playoff/data.py')
-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)