summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-02-17 14:02:30 +0100
committeremkael <emkael@tlen.pl>2018-02-17 14:02:30 +0100
commit088cb333bfb9b9427d6d4eeca6e8e57caa3b6c94 (patch)
treefda130c12689bd535d8f7fa076cc8aed2eb4aa9b /jfr_playoff
parentad77849280b2c8231be90349bc4ca6c4c6597d35 (diff)
`round` parameter is not required if we don't use database
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/matchinfo.py2
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']))