From be06f2599161d30ab8a9587bd4db2a8422ebf933 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 1 Feb 2019 16:48:24 +0100 Subject: Misleading debugging information fixed --- jfr_playoff/matchinfo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jfr_playoff/matchinfo.py') diff --git a/jfr_playoff/matchinfo.py b/jfr_playoff/matchinfo.py index 0d46e59..7b7af0b 100644 --- a/jfr_playoff/matchinfo.py +++ b/jfr_playoff/matchinfo.py @@ -47,7 +47,8 @@ class MatchInfo: 'runda%d.html' % (self.config['round'])) PlayoffLogger.get('matchinfo').info( 'match #%d link fetched: %s', self.info.id, self.info.link) - PlayoffLogger.get('matchinfo').info('match #%d link empty', self.info.id) + else: + PlayoffLogger.get('matchinfo').info('match #%d link empty', self.info.id) def __get_predefined_scores(self): teams = [Team(), Team()] -- cgit v1.2.3