X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/ccea18de09f4e3a4221cdd14f0d3d18ce812c37a..f7cc6eaa8d3e23957e01cf93d1265f368434d34a:/render.py 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 = []