summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 4fc59c91..4103e5a3 100644
--- a/main.py
+++ b/main.py
@@ -19,4 +19,5 @@ register_parser (parser)
journal = Journal ()
parse_journal_file (args[0], journal)
-print journal[-1].payee
+for entry in journal:
+ print entry.payee