summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-05-21 22:33:10 +0200
committeremkael <emkael@tlen.pl>2019-05-21 22:33:10 +0200
commit540f3229dadc061bd6bb54cc55eaa3c501030b12 (patch)
treecff7ef348bdb19aa38e9a8db6da1e363b868cfef
parent167b4cbc50e28209b18b04d738565590715a92ff (diff)
Moving card list to parent class
-rw-r--r--dealconvert/formats/__init__.py1
-rw-r--r--dealconvert/formats/ber.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/__init__.py b/dealconvert/formats/__init__.py
index e442cea..eea9fc6 100644
--- a/dealconvert/formats/__init__.py
+++ b/dealconvert/formats/__init__.py
@@ -2,6 +2,7 @@ from os.path import dirname, basename, isfile, join
import glob
class DealFormat(object):
+ cards = 'AKQJT98765432'
def parse(self, input_file):
with open(input_file, 'rb') as content:
return self.parse_content(content)
diff --git a/dealconvert/formats/ber.py b/dealconvert/formats/ber.py
index d20a0ff..b47e738 100644
--- a/dealconvert/formats/ber.py
+++ b/dealconvert/formats/ber.py
@@ -5,7 +5,6 @@ from .. import dto
class BERFormat(DealFormat):
number_warning = 'WARNING: .ber file format assumes consequent deal numbers from 1'
- cards = 'AKQJT98765432'
@property
def suffix(self):