diff options
author | emkael <emkael@tlen.pl> | 2019-05-21 22:33:10 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-05-21 22:33:10 +0200 |
commit | 540f3229dadc061bd6bb54cc55eaa3c501030b12 (patch) | |
tree | cff7ef348bdb19aa38e9a8db6da1e363b868cfef | |
parent | 167b4cbc50e28209b18b04d738565590715a92ff (diff) |
Moving card list to parent class
-rw-r--r-- | dealconvert/formats/__init__.py | 1 | ||||
-rw-r--r-- | dealconvert/formats/ber.py | 1 |
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): |