From: Benjamin Mako Hill Date: Wed, 8 Aug 2012 17:57:56 +0000 (-0400) Subject: Merge branch 'master' of git+ssh://projects.mako.cc/git/iron-blogger X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/f2984ef5a6c2c6f44c8657bbc82ad676e48e7657?hp=cbdeba34e3a9c9a225b0754f1f88ec69c2ef4cce Merge branch 'master' of git+ssh://projects.mako.cc/git/iron-blogger --- 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 = []