diff options
author | emkael <emkael@tlen.pl> | 2018-02-17 15:21:00 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-17 15:21:00 +0100 |
commit | f2fe40754a9a63d1854885e17b0e304dbf4a834f (patch) | |
tree | c38356362ff49bf9a0d2f542ac19a8a8dba5bcb6 /jfr_playoff | |
parent | 15e0d4cb2653b12b78912ad09003fff6826b4e65 (diff) |
Catching not configured database on board cout retrieval
Diffstat (limited to 'jfr_playoff')
-rw-r--r-- | jfr_playoff/matchinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/matchinfo.py b/jfr_playoff/matchinfo.py index 9473238..9366d5f 100644 --- a/jfr_playoff/matchinfo.py +++ b/jfr_playoff/matchinfo.py @@ -152,7 +152,7 @@ class MatchInfo: boards_to_play = 0 try: boards_played, boards_to_play = self.__get_db_board_count() - except (mysql.connector.Error, TypeError, KeyError): + except (mysql.connector.Error, TypeError, IndexError, KeyError): pass if boards_played > 0: self.info.running = -1 \ |