summaryrefslogtreecommitdiff
path: root/dealconvert/dto.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-07-18 01:28:44 +0200
committeremkael <emkael@tlen.pl>2019-07-18 02:50:55 +0200
commitd4420684f7a2518d3f1d754dbd564dbf953f4ddd (patch)
treecf0bc4319f24ddc204c564946a83899f56621bf3 /dealconvert/dto.py
parent9ee2797b439fee670f5248888f84f9f755a1b9a7 (diff)
Leaving DD-related fields in PBN files
Diffstat (limited to 'dealconvert/dto.py')
-rw-r--r--dealconvert/dto.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dealconvert/dto.py b/dealconvert/dto.py
index 0e1107c..68c6e72 100644
--- a/dealconvert/dto.py
+++ b/dealconvert/dto.py
@@ -13,6 +13,7 @@ class Deal(object):
vulnerable = None
dealer = None
hands = None
+ extra_fields = None
def __init__(self):
self.hands = [[[],[],[],[]],
@@ -20,6 +21,7 @@ class Deal(object):
[[],[],[],[]],
[[],[],[],[]]]
self.vulnerable = {'NS': False, 'EW': False}
+ self.extra_fields = []
def get_dealer(self, board_no):
return (board_no - 1) % 4