Move transaction_ids dict to instance attribute

This commit is contained in:
Gabriel Augendre 2020-02-29 12:29:15 +01:00
parent a54ac06b12
commit 3a45f0a510
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -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