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/bhg.py | |
parent | d833d89ade81fd72efb76fb796cd5073e4e7c221 (diff) |
Python3 compatibility
Fixes #1
Diffstat (limited to 'dealconvert/formats/bhg.py')
-rw-r--r-- | dealconvert/formats/bhg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/bhg.py b/dealconvert/formats/bhg.py index 6964ea3..5737a8e 100644 --- a/dealconvert/formats/bhg.py +++ b/dealconvert/formats/bhg.py @@ -33,7 +33,7 @@ class BHGFormat(DealFormat): ] for hand, cards in enumerate(hands): for card in cards: - suit = card / 13 + suit = card // 13 card = self.cards[card % 13] deal.hands[(hand + deal.dealer) % 4][suit].append(card) deals.append(deal) |