summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dealconvert/formats/lin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/dealconvert/formats/lin.py b/dealconvert/formats/lin.py
index 43c5ac3..57a5205 100644
--- a/dealconvert/formats/lin.py
+++ b/dealconvert/formats/lin.py
@@ -63,7 +63,10 @@ class LINFormat(DealFormat):
def _parse_md_field(self, value):
try:
hands = value[1:].split(',')
- layout = [[], [], [], []]
+ layout = [[[], [], [], []],
+ [[], [], [], []],
+ [[], [], [], []],
+ [[], [], [], []]]
for i, hand in enumerate(hands):
layout[(i+2)%4] = self._parse_md_hand(hand) # hands always start from S
for j, single_hand in enumerate(layout):