From 3a45f0a510a2ecea4e5730d5a172ac2c1a119085 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 29 Feb 2020 12:29:15 +0100 Subject: [PATCH] Move transaction_ids dict to instance attribute --- ofx_processor/utils/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofx_processor/utils/processor.py b/ofx_processor/utils/processor.py index c54f7f4..c0249ce 100644 --- a/ofx_processor/utils/processor.py +++ b/ofx_processor/utils/processor.py @@ -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