From 056cba4659e8bc07faf8149f9692cd3ec2b89ed4 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 8 Dec 2017 12:18:59 +0100 Subject: bid_counter could have been used uninitialized --- src/bidding_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bidding_data.py b/src/bidding_data.py index ad4d577..fa26c2a 100644 --- a/src/bidding_data.py +++ b/src/bidding_data.py @@ -111,9 +111,9 @@ def parse_bidding_data(bidding_data, erased_boards=None): round_no = bid[3] table_no = str(bid[1]) + '_' + str(bid[2]) board_no = str(bid[4]) + '_' + str(round_no) + '_' + table_no + bid_counter = bid[5] if (board_no not in erased or erased[board_no] < merge_timestamps(bid[8], bid[9])): - bid_counter = bid[5] bid_erased = bid[10] if board_no not in bids: bids[board_no] = {} -- cgit v1.2.3