summaryrefslogtreecommitdiff
path: root/dealconvert/formats/bhg.py
diff options
context:
space:
mode:
Diffstat (limited to 'dealconvert/formats/bhg.py')
-rw-r--r--dealconvert/formats/bhg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/bhg.py b/dealconvert/formats/bhg.py
index 08b9213..6964ea3 100644
--- a/dealconvert/formats/bhg.py
+++ b/dealconvert/formats/bhg.py
@@ -40,7 +40,7 @@ class BHGFormat(DealFormat):
return deals
def output_content(self, out_file, dealset):
- lines = [''] * (max([board.number for board in dealset])+2)
+ lines = [''] * (max([board.number for board in dealset])+2) if len(dealset) else []
for deal in dealset:
line = ''
for hand in range(0, 4):