From 088cb333bfb9b9427d6d4eeca6e8e57caa3b6c94 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 17 Feb 2018 14:02:30 +0100 Subject: `round` parameter is not required if we don't use database --- jfr_playoff/matchinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jfr_playoff/matchinfo.py b/jfr_playoff/matchinfo.py index b566b39..ba4a29f 100644 --- a/jfr_playoff/matchinfo.py +++ b/jfr_playoff/matchinfo.py @@ -46,7 +46,7 @@ class MatchInfo: def __fetch_match_link(self): if 'link' in self.config: self.info.link = self.config['link'] - else: + elif 'round' in self.config: self.info.link = self.__get_link( 'runda%d.html' % (self.config['round'])) -- cgit v1.2.3