]> projects.mako.cc - iron-blogger/blobdiff - config.py
Update for 2012-09-17
[iron-blogger] / config.py
index 6b6d5882f993d0f838f15920284a7010826b1c24..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.Popen(['ledger', '--version'], stdout=subprocess.PIPE).communicate()[0][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?