diff options
author | emkael <emkael@tlen.pl> | 2018-02-22 11:30:13 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-22 11:30:13 +0100 |
commit | 247e2f4ca86914ab996eaf5bafb84620bf5a2567 (patch) | |
tree | 9003d3bdc9a925757b67b31d97377c87423effaf | |
parent | c69cade1b7dcecfbdb45a2da59bafa6f1a0bf7ea (diff) |
Bugfix: properly mark averaged boards as played when fetching from results page
-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 1f6446e..538c67d 100644 --- a/jfr_playoff/matchinfo.py +++ b/jfr_playoff/matchinfo.py @@ -200,7 +200,7 @@ class MatchInfo: board_count = len(board_rows) played_boards = len([ row for row in board_rows if len( - ''.join([cell.text.strip() for cell in row.select('td.bdn') + row.select('td.bde')])) > 0]) + ''.join([cell.text.strip() for cell in row.select('td.bdc')])) > 0]) return board_count, played_boards >= board_count except IOError: return 0, False |