diff options
author | emkael <emkael@tlen.pl> | 2015-08-27 22:25:55 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-08-27 22:25:55 +0200 |
commit | 19b6737916ecec8992559248fb0b5d4d75c37b74 (patch) | |
tree | 4c4065bc1546b94db850d0ea47b367fe14e03e7d /bidding_data.py | |
parent | 91cdc24479abadb4e917e7ac25c387ed16f273c0 (diff) |
* checking for ffully erased bidding
Diffstat (limited to 'bidding_data.py')
-rw-r--r-- | bidding_data.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bidding_data.py b/bidding_data.py index 4fe33ed..9bcd246 100644 --- a/bidding_data.py +++ b/bidding_data.py @@ -63,6 +63,8 @@ class JFRBidding: bid_counter, None ) + if len(bids[board_no][table_no][round_no]) == 0: + bids[board_no][table_no].pop(round_no, None) else: bids[board_no][table_no][round_no][bid_counter] = { 'direction': bid[6], |