diff options
author | emkael <emkael@tlen.pl> | 2019-12-31 13:11:23 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-12-31 13:11:23 +0100 |
commit | 69d869a96f4d608e55dc305e9f70f0d505c9d5d9 (patch) | |
tree | 92dd395b30513e870c956ace0a0cf5ea7340af79 /jfr_playoff/data | |
parent | 8230739ccf52970a61c68f414f0cf2812b79f766 (diff) |
Logging details and code formatting
Diffstat (limited to 'jfr_playoff/data')
-rw-r--r-- | jfr_playoff/data/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jfr_playoff/data/__init__.py b/jfr_playoff/data/__init__.py index 8c94466..3e63e98 100644 --- a/jfr_playoff/data/__init__.py +++ b/jfr_playoff/data/__init__.py @@ -74,7 +74,10 @@ class PlayoffData(object): self.match_info = {} for phase in self.phases: for match in phase['matches']: - match_info = MatchInfo(match, self.teams, self.database, self.aliases) + PlayoffLogger.get('data').info( + 'getting match info for #%d', match['id']) + match_info = MatchInfo( + match, self.teams, self.database, self.aliases) if 'link' in phase: match_info.set_phase_link(phase['link']) self.match_info[match['id']] = match_info.get_info() |