From 19b6737916ecec8992559248fb0b5d4d75c37b74 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 27 Aug 2015 22:25:55 +0200 Subject: * checking for ffully erased bidding --- bidding_data.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bidding_data.py') 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], -- cgit v1.2.3