summaryrefslogtreecommitdiff
path: root/jfr_playoff/tournamentinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/tournamentinfo.py')
-rw-r--r--jfr_playoff/tournamentinfo.py3
1 files changed, 3 insertions, 0 deletions
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']: