summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/matchinfo.py1
-rw-r--r--jfr_playoff/tournamentinfo.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/matchinfo.py b/jfr_playoff/matchinfo.py
index c9d6680..1f6446e 100644
--- a/jfr_playoff/matchinfo.py
+++ b/jfr_playoff/matchinfo.py
@@ -138,7 +138,6 @@ class MatchInfo:
return teams
def __fetch_teams_with_scores(self):
- print self.info.teams
(scores_fetched, teams_fetched, self.info.teams) = self.__get_predefined_scores()
if scores_fetched:
if 'running' in self.config:
diff --git a/jfr_playoff/tournamentinfo.py b/jfr_playoff/tournamentinfo.py
index 90637bc..9805c74 100644
--- a/jfr_playoff/tournamentinfo.py
+++ b/jfr_playoff/tournamentinfo.py
@@ -117,11 +117,14 @@ class TournamentInfo:
def get_tournament_results(self):
teams = []
try:
+ print 'try DB results'
teams = self.__get_db_results()
except (mysql.connector.Error, TypeError, IndexError, KeyError):
try:
+ print 'try HTML results'
teams = self.__get_html_results()
except (TypeError, IndexError, KeyError, IOError, ValueError):
+ raise
pass
if self.is_finished() and 'final_positions' in self.settings:
for position in self.settings['final_positions']: