Fix Python example
Thanks to Brian Carlson for pointing this out. Fixes #547
This commit is contained in:
parent
8d38190409
commit
44a885c522
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue