From 41590326749cf6b5c75b163222170424cff00cc2 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Tue, 31 Mar 2020 02:03:25 +1100 Subject: [PATCH] Fix bug/typo --- ledger_pyreport/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger_pyreport/__init__.py b/ledger_pyreport/__init__.py index 5f1f86f..17eb992 100644 --- a/ledger_pyreport/__init__.py +++ b/ledger_pyreport/__init__.py @@ -231,7 +231,7 @@ def filter_amount(amt, link=None): return flask.Markup('({})'.format(link, amt.tostr(False), amt_str)) else: if is_pos: - return flask.Markup(' '.format(amt.tostr(False), amt_str)) + return flask.Markup('{} '.format(amt.tostr(False), amt_str)) else: return flask.Markup('({})'.format(amt.tostr(False), amt_str))