From f7cc6eaa8d3e23957e01cf93d1265f368434d34a Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Sat, 21 Jul 2012 11:43:59 -0400 Subject: [PATCH] Revert "update render.py to work with new options in ledger >=3" This reverts commit e8f3c6a7285ec52dc90a60fbb75aebe4d143ce0e. --- render.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/render.py b/render.py index 8425d92..9e1fbdc 100755 --- a/render.py +++ b/render.py @@ -20,10 +20,8 @@ def get_balance(acct): return float(out.split()[0][1:]) def get_debts(): - p = subprocess.Popen(['ledger', '-f', - os.path.join(HERE, 'ledger'), - '--no-color', '--flat', - '--no-total', 'balance', 'Pool:Owed:'], + p = subprocess.Popen(['ledger', '-f', os.path.join(HERE, 'ledger'), + '-n', 'balance', 'Pool:Owed:'], stdout=subprocess.PIPE) (out, _) = p.communicate() debts = [] -- 2.39.5