summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-01-27 15:50:55 +0100
committeremkael <emkael@tlen.pl>2018-01-27 15:50:55 +0100
commitc00b84e4c3452c43aea6d28050d3ab486f8f388e (patch)
tree37ea5398adf40f6482796823e4f5cfe4c6564a5a /jfr_playoff
parent654d8d84d11c87b55370d977ebd866a24b14a776 (diff)
"#" link for a single match is not resolved relatively to phase link
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/data.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index e6b19af..f5f638b 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -68,8 +68,9 @@ class PlayoffData(object):
if self.match_info[match['id']].link is None:
self.match_info[match['id']].link = phase['link']
else:
- self.match_info[match['id']].link = urljoin(
- phase['link'], self.match_info[match['id']].link)
+ if self.match_info[match['id']].link != '#':
+ self.match_info[match['id']].link = urljoin(
+ phase['link'], self.match_info[match['id']].link)
return self.match_info
def __get_link(self, database, suffix):