summaryrefslogtreecommitdiff
path: root/dealconvert/formats
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-05-22 22:11:08 +0200
committeremkael <emkael@tlen.pl>2019-05-22 22:11:08 +0200
commit9ffb849db7ec3b7a84b0f3cd61f33203454a10bf (patch)
treeb7a03a169fc4e7312dea1cc8b096c4890d23ad1f /dealconvert/formats
parentaad1c523b501ad965aef8811f2f1c45dbe295983 (diff)
Handling "reverse" DUP flag in the only way it's reasonable
Diffstat (limited to 'dealconvert/formats')
-rw-r--r--dealconvert/formats/dup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/dup.py b/dealconvert/formats/dup.py
index 5b78bfc..068a05e 100644
--- a/dealconvert/formats/dup.py
+++ b/dealconvert/formats/dup.py
@@ -31,7 +31,7 @@ class DUPFormat(DealFormat):
board_count = int(boards[0][2][7:9].strip())
board_numbers = range(start_board, start_board+board_count)
if boards[0][2][1].upper() != 'N':
- board_numbers.reverse()
+ print 'WARNING: .dup file header has "reverse" flag set, nobody knows what to do with it, so it\'s time to panic'
dealset = []
for idx, board in enumerate(boards):
deal = dto.Deal()