X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/377bb368427ea5b27cc9e6e81577d701e0faa282..2c61e383ade53f4af779f2398dd8e71d00b70b8c:/config.py diff --git a/config.py b/config.py index d112ea5..fa3a133 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.check_output(['ledger', '--version'])[7] == 3: +if subprocess.check_output(['ledger', '--version'])[7] == "3": BALANCE_CMD = ['ledger', '-f', os.path.join(HERE,'ledger'), '--no-color', '-n', 'balance']