X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/6b0e416bb9b404c035ed907e32b48906ef502c75..d16daaee4a77f413876b10465e0d36eafb280dc9:/config.py diff --git a/config.py b/config.py index 6b6d588..0a65e79 100644 --- 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 -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']