summaryrefslogtreecommitdiff
path: root/jfr_playoff/data/tournament/tcjson.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/data/tournament/tcjson.py')
-rw-r--r--jfr_playoff/data/tournament/tcjson.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/jfr_playoff/data/tournament/tcjson.py b/jfr_playoff/data/tournament/tcjson.py
index 5e375ed..8d7cd34 100644
--- a/jfr_playoff/data/tournament/tcjson.py
+++ b/jfr_playoff/data/tournament/tcjson.py
@@ -9,6 +9,13 @@ FLAG_CDN_URL = 'https://cdn.tournamentcalculator.com/flags/'
class TCJsonTournamentInfo(TournamentInfoClient):
+ @property
+ def priority(self):
+ return 20
+
+ def is_capable(self):
+ return 'link' in self.settings
+
def get_exceptions(self, method):
return (TypeError, IndexError, KeyError, IOError, ValueError)