diff options
Diffstat (limited to 'boards/scrapers')
-rw-r--r-- | boards/scrapers/tournamentcalculator/scrape.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boards/scrapers/tournamentcalculator/scrape.py b/boards/scrapers/tournamentcalculator/scrape.py index fcdd8b8..1d79d8a 100644 --- a/boards/scrapers/tournamentcalculator/scrape.py +++ b/boards/scrapers/tournamentcalculator/scrape.py @@ -44,7 +44,7 @@ for idx, board_set in enumerate(board_sets): hand_record = [] for suit in ['Spades', 'Hearts', 'Diamonds', 'Clubs']: hand_record.append(board['_handRecord']['Hand%s' % (hand)][suit]) - board_record.append('.'.join(hand_record)) + board_record.append('.'.join(hand_record).replace('10', 'T')) output_file.write('[Board "%d"]\n' % (board_number)) output_file.write('[Dealer "%s"]\n' % (['W', 'N', 'E', 'S'][board_number % 4])) output_file.write('[Deal "N:%s"]\n' % (' '.join(board_record))) |