summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jfr_playoff/data/match/tcjson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/data/match/tcjson.py b/jfr_playoff/data/match/tcjson.py
index ade7704..41ee4d8 100644
--- a/jfr_playoff/data/match/tcjson.py
+++ b/jfr_playoff/data/match/tcjson.py
@@ -22,7 +22,7 @@ class TCJsonMatchInfo(MatchInfoClient):
def _get_round_from_link(self, link):
fragment = urlparse.urlparse(link).fragment
- return int(fragment[11:14]), int(fragment[14:17])
+ return max(1, int(fragment[11:14])), max(1, int(fragment[14:17]))
def get_match_link(self):
PlayoffLogger.get('match.tcjson').info(