From 69d869a96f4d608e55dc305e9f70f0d505c9d5d9 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 31 Dec 2019 13:11:23 +0100 Subject: Logging details and code formatting --- jfr_playoff/data/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jfr_playoff/data') 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() -- cgit v1.2.3