summaryrefslogtreecommitdiff
path: root/bidding_data.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-08-30 19:23:29 +0200
committeremkael <emkael@tlen.pl>2015-08-30 19:23:29 +0200
commitfe3d1574d9b73ce21061b49823ad2f6c0358ae4e (patch)
tree9c75f2a840816275517f248f8018c689493c01e7 /bidding_data.py
parent761e993ecf6eaea9627f370de1a5403998dfc2da (diff)
* code formatting
Diffstat (limited to 'bidding_data.py')
-rw-r--r--bidding_data.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bidding_data.py b/bidding_data.py
index cc7a4c4..bb33738 100644
--- a/bidding_data.py
+++ b/bidding_data.py
@@ -103,7 +103,7 @@ class JFRBidding:
'_'.join(map(str,
self.__round_lineups[round_no][table_no]
if pair_numbers is None # read numbers from lineup
- else pair_numbers))) # or use provided pair numbers
+ else pair_numbers))) # or use provided numbers
def __map_board_numbers(self, custom_mapping=None):
self.__tournament_files = [
@@ -115,9 +115,10 @@ class JFRBidding:
for jfr_number in range(custom_mapping[0], custom_mapping[1]+1):
# only include these board numbers from custom mapping
# which actually exist in JFP output
- board_files = [f for f
- in self.__tournament_files
- if f.endswith('{0:03}.html'.format(jfr_number))]
+ board_files = [
+ f for f
+ in self.__tournament_files
+ if f.endswith('{0:03}.html'.format(jfr_number))]
if len(board_files):
self.__board_number_mapping[
jfr_number - custom_mapping[0] + custom_mapping[2]