diff options
author | emkael <emkael@tlen.pl> | 2020-10-20 15:23:10 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-20 15:23:10 +0200 |
commit | 5da79691092041d7291fc8534d4729938981aa4a (patch) | |
tree | a6cac7642024db971240a4ab2e2cc1cc332e557a /dealconvert/formats/bri.py | |
parent | d833d89ade81fd72efb76fb796cd5073e4e7c221 (diff) |
Python3 compatibility
Fixes #1
Diffstat (limited to 'dealconvert/formats/bri.py')
-rw-r--r-- | dealconvert/formats/bri.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/bri.py b/dealconvert/formats/bri.py index 1a4cc0f..55163fe 100644 --- a/dealconvert/formats/bri.py +++ b/dealconvert/formats/bri.py @@ -42,7 +42,7 @@ class BRIFormat(DealFormat): for hand in range(0, 3): for card in deal[13*hand:13*(hand+1)]: card = card - 1 - suit = card / 13 + suit = card // 13 card = card % 13 deal_obj.hands[hand][suit].append(self.cards[card]) deal_obj.fill_west() |