summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Klichowicz <emkael@tlen.pl>2023-10-02 22:59:00 +0200
committerMichał Klichowicz <emkael@tlen.pl>2023-10-02 22:59:00 +0200
commita7e3a4c40931e9cc43affec38f30065998efad5f (patch)
treeb767eb335e9553a740b43d808736e1508b9b4236
parent68a3ee5d9f95bdf0b9941a5c1f9075dbda5852be (diff)
Lead card formattingv0.1
-rw-r--r--src/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py
index f94f064..113bdd5 100644
--- a/src/main.py
+++ b/src/main.py
@@ -158,7 +158,7 @@ def get_pbn_score(b):
play_data = ' '.join(play_data).split(' ')
if play_data:
lead = play_data[0].strip()
- lead = lead[0] + ' ' + lead[1]
+ lead = lead[0:2]
else: # passed-out hand
contract = contract.upper()
result = 0