Fix bug/typo

This commit is contained in:
RunasSudo 2020-03-31 02:03:25 +11:00
parent f9d2ea7e90
commit 4159032674
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -231,7 +231,7 @@ def filter_amount(amt, link=None):
return flask.Markup('<a href="{}"><span title="{}">({})</span></a>'.format(link, amt.tostr(False), amt_str)) return flask.Markup('<a href="{}"><span title="{}">({})</span></a>'.format(link, amt.tostr(False), amt_str))
else: else:
if is_pos: if is_pos:
return flask.Markup('<span title="{}">&nbsp;'.format(amt.tostr(False), amt_str)) return flask.Markup('<span title="{}">{}</span>&nbsp;'.format(amt.tostr(False), amt_str))
else: else:
return flask.Markup('<span title="{}">({})</span>'.format(amt.tostr(False), amt_str)) return flask.Markup('<span title="{}">({})</span>'.format(amt.tostr(False), amt_str))