diff options
Diffstat (limited to 'bidding_data.py')
-rw-r--r-- | bidding_data.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bidding_data.py b/bidding_data.py index b1c9665..ba467f6 100644 --- a/bidding_data.py +++ b/bidding_data.py @@ -104,15 +104,18 @@ class JFRBidding: # 13th column has JFR number for the first board if len(round_data) > 12: jfr_number = round_data[12] - if jfr_number: + round_no = round_data[2] + sector_no = round_data[0] + table_no = round_data[1] + if jfr_number and round_no: # 5th and 6th - actual board number for board_number in range(int(round_data[5]), int(round_data[6])+1): board_string = '_'.join([ str(board_number), - str(round_data[2]), # round number - str(round_data[0]), # sector number - str(round_data[1])]) # table number + str(round_no), + str(sector_no), + str(table_no)]) self.__board_number_mapping[ board_string] = jfr_number + board_number - \ round_data[5] |