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']