summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-09-12 23:32:10 +0200
committeremkael <emkael@tlen.pl>2015-09-12 23:32:10 +0200
commit6550643eab0328bf857e1cbdaaf904ab7a8b64b2 (patch)
tree6811722a34358e48d1f7666788cfbd82249b1553 /src
parent4c502892969fe30d68f4653ddc80617a07f3e6c6 (diff)
* we're reading directly from BWS, we don't need to skip the first row of data
Diffstat (limited to 'src')
-rw-r--r--src/bidding_data.py4
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