From 5e66c1684a8a2b0597fc2633078c23e212cce228 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 30 Dec 2019 15:03:56 +0100 Subject: Auto-loading tournament result info client classes --- jfr_playoff/data/tournament/__init__.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'jfr_playoff/data/tournament/__init__.py') diff --git a/jfr_playoff/data/tournament/__init__.py b/jfr_playoff/data/tournament/__init__.py index 9ec71dd..ef16e54 100644 --- a/jfr_playoff/data/tournament/__init__.py +++ b/jfr_playoff/data/tournament/__init__.py @@ -1,8 +1,7 @@ -class TournamentInfoClient(object): - def __init__(self, settings, database=None): - self.settings = settings - self.database = database +from jfr_playoff.data.info import ResultInfoClient + +class TournamentInfoClient(ResultInfoClient): def get_results_link(self, suffix): pass @@ -11,6 +10,3 @@ class TournamentInfoClient(object): def get_tournament_results(self): pass - - def get_exceptions(self, method): - pass -- cgit v1.2.3