diff options
author | emkael <emkael@tlen.pl> | 2018-02-17 14:02:30 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-17 14:02:30 +0100 |
commit | 088cb333bfb9b9427d6d4eeca6e8e57caa3b6c94 (patch) | |
tree | fda130c12689bd535d8f7fa076cc8aed2eb4aa9b | |
parent | ad77849280b2c8231be90349bc4ca6c4c6597d35 (diff) |
`round` parameter is not required if we don't use database
-rw-r--r-- | jfr_playoff/matchinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'])) |