Journal's Show instance reported one too many accounts

This commit is contained in:
Simon Michael 2015-06-28 14:14:56 -07:00
parent ba18f4a25a
commit 61e4034de5

View File

@ -106,7 +106,7 @@ instance Show Journal where
(show accounts)
(show $ jcommoditystyles j)
-- ++ (show $ journalTransactions l)
where accounts = flatten $ journalAccountNameTree j
where accounts = filter (/= "root") $ flatten $ journalAccountNameTree j
-- showJournalDebug j = unlines [
-- show j