diff options
author | emkael <emkael@tlen.pl> | 2019-11-07 20:46:46 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-11-07 20:46:46 +0100 |
commit | 29c7e9fe2d7e2c6b6a67d7daf38b29c1a10f77a7 (patch) | |
tree | cf48737673fba9c5c616616b292af75a45c86b11 /dealconvert/formats/pbn.py | |
parent | 6238c63a0aa244673b0a53dd00e829f687d808a3 (diff) |
Unified way of dealing with format-specific arguments
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 04db8a2..6108f4b 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, jfr_only=self.jfr_only) - dd_board.save_par_contract(dd_contract, jfr_only=self.jfr_only) + dd_board.save_dd_table(dd_table, jfr_only=self.options['jfr_only']) + dd_board.save_par_contract(dd_contract, jfr_only=self.options['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) |