summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-26 01:02:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-26 01:02:43 -0400
commit17808869b29e73e8a12129e3f52d885d484936c9 (patch)
treee6c04008d97673df850bcce90dae63b5ae468623 /main.py
parent0c36849f3fae040ff7af7092f51f8c0e8fc436d0 (diff)
downloadfork-ledger-17808869b29e73e8a12129e3f52d885d484936c9.tar.gz
fork-ledger-17808869b29e73e8a12129e3f52d885d484936c9.tar.bz2
fork-ledger-17808869b29e73e8a12129e3f52d885d484936c9.zip
updated main.py to reflect recent changes to main.cc
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/main.py b/main.py
index 0386b509..b5f52db0 100755
--- a/main.py
+++ b/main.py
@@ -328,13 +328,14 @@ if not (command == "b" or command == "E"):
if config.show_collapsed:
handler = CollapseTransactions(handler);
- if config.show_subtotal:
+ if config.days_of_the_week:
+ handler = DowTransactions(handler)
+ elif config.show_subtotal:
handler = SubtotalTransactions(handler)
- elif config.report_interval:
+
+ if config.report_interval:
handler = IntervalTransactions(handler, config.report_interval)
handler = SortTransactions(handler, "d")
- elif config.days_of_the_week:
- handler = DowTransactions(handler)
# The next two transaction filters are used by all reports.