summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):