Move transaction_ids dict to instance attribute
This commit is contained in:
parent
a54ac06b12
commit
3a45f0a510
1 changed files with 1 additions and 1 deletions
|
@ -43,13 +43,13 @@ class Line:
|
|||
|
||||
|
||||
class Processor:
|
||||
transaction_ids = defaultdict(int)
|
||||
line_class = Line
|
||||
account_name = None
|
||||
|
||||
def __init__(self, filename):
|
||||
self.filename = filename
|
||||
self.iterable = self.parse_file()
|
||||
self.transaction_ids = defaultdict(int)
|
||||
|
||||
def parse_file(self):
|
||||
return [] # pragma: nocover
|
||||
|
|
Loading…
Reference in a new issue