diff --git a/src/toldg/process.py b/src/toldg/process.py index 6d98115..33bae46 100644 --- a/src/toldg/process.py +++ b/src/toldg/process.py @@ -76,6 +76,7 @@ def apply_mappings(transactions: list[Transaction], mappings: dict[str, Mapping] assert mapping.count > 0, f"{mapping} used by {t} but count is not greater than '0'." mapping.count -= 1 t.mapping = mapping + t.account2 = mapping.account2 else: unmapped_count += 1 if unmapped_count > 0: