From 5de5edf347c9cfd492f4ca6ed798a379ba3c21cd Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 7 Jun 2022 16:50:06 +0200 Subject: '10' -> 'T' in TC boards scraper --- boards/scrapers/tournamentcalculator/scrape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit v1.2.3