diff options
Diffstat (limited to 'src/bidding_data.py')
-rw-r--r-- | src/bidding_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bidding_data.py b/src/bidding_data.py index 147d5b0..8ade583 100644 --- a/src/bidding_data.py +++ b/src/bidding_data.py @@ -19,7 +19,7 @@ class JFRBidding: # {round}.{sector}_{table}.{pair numbers} structure def __parse_lineup_data(self, sitting_data): round_lineups = {} - for sitting in sitting_data[1:]: + for sitting in sitting_data: round_no = sitting[2] table_no = str(sitting[0]) + '_' + str(sitting[1]) if round_no not in round_lineups: @@ -33,7 +33,7 @@ class JFRBidding: # including erased calls def __parse_bidding_data(self, bidding_data): bids = {} - for bid in bidding_data[1:]: + for bid in bidding_data: round_no = bid[3] table_no = str(bid[1]) + '_' + str(bid[2]) board_no = str(bid[4]) + '_' + str(round_no) + '_' + table_no |