Fix alignment of Total line

Fix 232e631ae1
    "change quantity type to decimal number"
and ad31e68143
    "ISIN is a 12 letter word"
This commit is contained in:
Florent 2014-10-24 16:43:06 +02:00
commit e5067a43b8

View file

@ -229,7 +229,7 @@ class InvestmentFormatter(IFormatter):
def flush(self):
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('%9.2f' % self.tot_diff, 'green' if self.tot_diff >=0 else 'red')
))