From fef0d2d2651182da000c67e22ad7a6695f856811 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 17 Feb 2018 12:54:47 +0100 Subject: Consistent method naming --- jfr_playoff/matchinfo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jfr_playoff') diff --git a/jfr_playoff/matchinfo.py b/jfr_playoff/matchinfo.py index cb5f616..1df6305 100644 --- a/jfr_playoff/matchinfo.py +++ b/jfr_playoff/matchinfo.py @@ -15,7 +15,7 @@ class MatchInfo: self.database = database self.info = Match() self.__init_info() - self.__get_match_link() + self.__fetch_match_link() def __init_info(self): self.info.id = self.config['id'] @@ -32,7 +32,7 @@ class MatchInfo: self.info.loser_matches = list(set(self.info.loser_matches)) self.info.teams = [] - def __fetch_link(self, suffix): + def __get_link(self, suffix): try: row = self.database.fetch( self.config['database'], p_sql.PREFIX, ()) @@ -43,11 +43,11 @@ class MatchInfo: return None return None - def __get_match_link(self): + def __fetch_match_link(self): if 'link' in self.config: self.info.link = self.config['link'] else: - self.info.link = self.__fetch_link( + self.info.link = self.__get_link( 'runda%d.html' % (self.config['round'])) def __get_predefined_scores(self): -- cgit v1.2.3