Fix training regression

This commit is contained in:
2026-05-08 13:01:09 -04:00
parent fbab1c9174
commit ca66ec9c42

View File

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