summaryrefslogtreecommitdiff
path: root/jfr_playoff/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/data.py')
-rw-r--r--jfr_playoff/data.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index b54d1ae..db65393 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -9,10 +9,9 @@ from jfr_playoff.dto import Match, Phase, Team
class PlayoffData(object):
def __init__(self, settings):
- self.settings = settings
- self.database = PlayoffDB(self.settings.get('database'))
- self.phases = self.settings.get('phases')
- self.teams = self.settings.get('teams')
+ self.database = PlayoffDB(settings.get('database'))
+ self.phases = settings.get('phases')
+ self.teams = settings.get('teams')
self.grid = []
self.match_info = {}
self.leaderboard = []