diff options
Diffstat (limited to 'jfr_playoff')
-rw-r--r-- | jfr_playoff/data.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py index f38cdee..23f82b8 100644 --- a/jfr_playoff/data.py +++ b/jfr_playoff/data.py @@ -84,8 +84,12 @@ class PlayoffData(object): return None def get_match_link(self, match): - return self.__get_link( + link = self.__get_link( match['database'], 'runda%d.html' % (match['round'])) + if link is None: + if 'link' in match: + link = match['link'] + return link def get_leaderboard_link(self, database): return self.__get_link(database, 'leaderb.html') |