diff options
author | emkael <emkael@tlen.pl> | 2019-10-01 18:39:32 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-10-01 18:39:32 +0200 |
commit | 835c002b4a9da9139837ddc6fdb31630ffee0de2 (patch) | |
tree | 600b6f0571eefb93f44d6b07071380cb512917e1 /dealconvert/formats/pbn.py | |
parent | ad546b63fb6fada2a87f60b21f0a41d2d6bd419e (diff) |
Taking advantage of pybcdd's option to write only JFR double-dummy fields
Diffstat (limited to 'dealconvert/formats/pbn.py')
-rw-r--r-- | dealconvert/formats/pbn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dealconvert/formats/pbn.py b/dealconvert/formats/pbn.py index 750d57d..04db8a2 100644 --- a/dealconvert/formats/pbn.py +++ b/dealconvert/formats/pbn.py @@ -144,8 +144,8 @@ class PBNFormat(DealFormat): dd_board = PBNBoard(lines) dd_table = DDTable(dd_board).get_dd_table(self.interactive) dd_contract = ParScore(dd_board).get_par_contract(dd_table) - dd_board.save_dd_table(dd_table) - dd_board.save_par_contract(dd_contract) + dd_board.save_dd_table(dd_table, jfr_only=self.jfr_only) + dd_board.save_par_contract(dd_contract, jfr_only=self.jfr_only) lines = [field.raw_field for field in dd_board.fields] except Exception as e: warnings.warn('unable to determine double-dummy data: %s' % e) |