projects
/
iron-blogger
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Punts for 2013-02-25
[iron-blogger]
/
config.py
diff --git
a/config.py
b/config.py
index d112ea5dfe3e5c9889cde8d1c44bec6b45db7a45..0a65e79fb93bf9f8d245f3d056f2f460e1b3f0c1 100644
(file)
--- a/
config.py
+++ b/
config.py
@@
-17,7
+17,7
@@
FINE_SIZE = 5
CURRENCY = "$"
# check the version of ledger to find out which commands to use
CURRENCY = "$"
# check the version of ledger to find out which commands to use
-if subprocess.
check_output(['ledger', '--version'])[7] == 3
:
+if subprocess.
Popen(['ledger', '--version'], stdout=subprocess.PIPE).communicate()[0][7] == '3'
:
BALANCE_CMD = ['ledger', '-f', os.path.join(HERE,'ledger'),
'--no-color', '-n', 'balance']
BALANCE_CMD = ['ledger', '-f', os.path.join(HERE,'ledger'),
'--no-color', '-n', 'balance']
Benjamin Mako Hill
||
Want to submit a patch?