diff options
Diffstat (limited to 'src/session.cc')
-rw-r--r-- | src/session.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc index 1dfd05cc..99b0d013 100644 --- a/src/session.cc +++ b/src/session.cc @@ -84,7 +84,9 @@ std::size_t session_t::read_journal(std::istream& in, { if (! master) master = journal->master; - return journal->parse(in, *this, master, &pathname); + std::size_t count = journal->parse(in, *this, master, &pathname); + clean_accounts(); // remove calculated totals + return count; } std::size_t session_t::read_journal(const path& pathname, |