diff options
-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], |