diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py index d4bd3f0..32cd135 100644 --- a/src/main.py +++ b/src/main.py @@ -147,7 +147,7 @@ def get_current_db_score(db, round_no, segment_no, table, room, board_no): def get_pbn_score(b): - contract = b.get_field('Contract').replace('*', ' x').replace('x x', 'xx') if b.has_field('Contract') else '' + contract = b.get_field('Contract').replace('N', 'NT').replace('X', ' x').replace('*', ' x').replace('x x', 'xx') if b.has_field('Contract') else '' if not contract: return None, None, None, None, None declarer = b.get_field('Declarer') if b.has_field('Declarer') else '' |