summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
authorMichał Klichowicz <emkael@tlen.pl>2023-10-05 22:50:57 +0200
committerMichał Klichowicz <emkael@tlen.pl>2023-10-05 22:50:57 +0200
commit1fba6d419cd2a82879ea216db6d1cae429ee9f3a (patch)
tree38075c388e961cdf94bcad9bdeda516670263a77 /src/main.py
parentd13ffeac444f142e1c5869d58adac8fc819d7151 (diff)
Ten is "10" in Teamy
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py
index 7eb2319..c132115 100644
--- a/src/main.py
+++ b/src/main.py
@@ -169,7 +169,7 @@ def get_pbn_score(b):
play_data = ' '.join(play_data).split(' ')
if play_data:
lead = play_data[0].strip()
- lead = lead[0:2]
+ lead = lead[0:2].replace('T', '10')
else: # passed-out hand
contract = contract.upper()
result = 0