From 7610aec86df0fd5c49303a8ed984f16a0f0b1e1f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 12 Aug 2004 20:06:06 -0400 Subject: added support for interval reporting; changed some option flags --- scripts/confirm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/confirm.py') diff --git a/scripts/confirm.py b/scripts/confirm.py index c3fe70ab..ea39e94b 100755 --- a/scripts/confirm.py +++ b/scripts/confirm.py @@ -13,7 +13,7 @@ running_total = 0.0 index = 1 last_line = "" -for line in os.popen("./ledger %s reg %s" % (sys.argv[1], sys.argv[2])): +for line in os.popen("../ledger %s reg %s" % (sys.argv[1], sys.argv[2])): value = clean(line[55:67]) total = clean(line[68:80]) @@ -29,7 +29,7 @@ for line in os.popen("./ledger %s reg %s" % (sys.argv[1], sys.argv[2])): balance_total = 0.0 -for line in os.popen("./ledger %s bal %s" % (sys.argv[1], sys.argv[2])): +for line in os.popen("../ledger %s bal %s" % (sys.argv[1], sys.argv[2])): balance_total = clean(line[:20]) if abs(balance_total - running_total) > 0.001: -- cgit v1.2.3