Fix alignment of Total line
Fix232e631ae1"change quantity type to decimal number" andad31e68143"ISIN is a 12 letter word"
This commit is contained in:
parent
46bd54b41c
commit
e5067a43b8
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ class InvestmentFormatter(IFormatter):
|
||||||
|
|
||||||
def flush(self):
|
def flush(self):
|
||||||
self.output(u'-------------------------------+--------------+------------+------------+------------+---------')
|
self.output(u'-------------------------------+--------------+------------+------------+------------+---------')
|
||||||
self.output(u' Total %s %s' %
|
self.output(u' Total %s %s' %
|
||||||
(self.colored('%11.2f' % self.tot_valuation, 'yellow'),
|
(self.colored('%11.2f' % self.tot_valuation, 'yellow'),
|
||||||
self.colored('%9.2f' % self.tot_diff, 'green' if self.tot_diff >=0 else 'red')
|
self.colored('%9.2f' % self.tot_diff, 'green' if self.tot_diff >=0 else 'red')
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue