diff options
author | Michał Klichowicz <emkael@tlen.pl> | 2023-10-02 22:52:50 +0200 |
---|---|---|
committer | Michał Klichowicz <emkael@tlen.pl> | 2023-10-02 22:55:17 +0200 |
commit | c16eb493bb130ad94ece708248235888c9224301 (patch) | |
tree | 258fe033eaa4becd0336576ae38ba95aa2850b76 /src/bcdd | |
parent | d930b2d1089ead6e27ff79364a474410abb0b444 (diff) |
Lead card import
Diffstat (limited to 'src/bcdd')
-rw-r--r-- | src/bcdd/PBNBoard.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bcdd/PBNBoard.py b/src/bcdd/PBNBoard.py index 6e1abf6..e76252d 100644 --- a/src/bcdd/PBNBoard.py +++ b/src/bcdd/PBNBoard.py @@ -166,6 +166,11 @@ class PBNBoard(object): def get_auction(self): return self.get_extended_raw_field('Auction', with_header=True) + def get_play_data(self): + if self.has_field('Play'): + return self.get_extended_raw_field('Play', with_header=False) + return None + def get_extended_raw_field(self, field_name, with_header=False): field_found = False result = [] |