diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2018-03-25 10:18:48 +0200 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2018-03-25 10:18:48 +0200 |
commit | 44a885c5221253ee5809f076ebbe5f17d0c86e7c (patch) | |
tree | 09bc33da2c8b2ee471d0f4f296744dfa4febfb26 /doc/ledger3.texi | |
parent | 8d38190409a68f2c8da572d33eaaf93a17c0f550 (diff) | |
download | fork-ledger-44a885c5221253ee5809f076ebbe5f17d0c86e7c.tar.gz fork-ledger-44a885c5221253ee5809f076ebbe5f17d0c86e7c.tar.bz2 fork-ledger-44a885c5221253ee5809f076ebbe5f17d0c86e7c.zip |
Fix Python example
Thanks to Brian Carlson for pointing this out.
Fixes #547
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r-- | doc/ledger3.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index b91a4214..0151f267 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -9218,7 +9218,7 @@ looking at its @code{xact} member: last_xact = None for post in ledger.read_journal("sample.dat").query(""): if post.xact != last_xact: - for post in post.xact.posts: + for post in post.xact.posts(): print "Transferring %s to/from %s" % (post.amount, post.account) last_xact = post.xact |