summaryrefslogtreecommitdiff
path: root/bidding_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'bidding_data.py')
-rw-r--r--bidding_data.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/bidding_data.py b/bidding_data.py
index 9bcd246..7dd1a58 100644
--- a/bidding_data.py
+++ b/bidding_data.py
@@ -287,12 +287,15 @@ class JFRBidding:
# traveller table rows for specific score entries
# should have 11 cells
if len(cells) == 11:
- pair_numbers = sorted(
- [
- int(cells[1].contents[0]),
- int(cells[2].contents[0])
- ]
- )
+ try:
+ pair_numbers = sorted(
+ [
+ int(cells[1].contents[0]),
+ int(cells[2].contents[0])
+ ]
+ )
+ except ValueError:
+ continue
bidding_link = board_text_content.new_tag(
'a',
href='#',