]> projects.mako.cc - iron-blogger/blobdiff - render.py
Merge branch 'master' of git+ssh://projects.mako.cc/git/iron-blogger
[iron-blogger] / render.py
index 8425d925b45ba1baec9977eaf3760dad83ab0bc6..9e1fbdc48b422609ebd4c574decf5fecd046a7ce 100755 (executable)
--- 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 = []

Benjamin Mako Hill || Want to submit a patch?