projects
/
iron-blogger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
cbdeba3
)
Merge branch 'master' of git+ssh://projects.mako.cc/git/iron-blogger
author
Benjamin Mako Hill
<mako@atdot.cc>
Wed, 8 Aug 2012 17:57:56 +0000
(13:57 -0400)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Wed, 8 Aug 2012 17:57:56 +0000
(13:57 -0400)
render.py
patch
|
blob
|
history
diff --git
a/render.py
b/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?