Show total effect on balance, too

This commit is contained in:
Sebastian Pipping 2011-10-10 04:46:34 +02:00
parent c720456749
commit cf5cae5303
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ class Status:
for i, (command, balance_backup) in enumerate(self.transfers): for i, (command, balance_backup) in enumerate(self.transfers):
show_item(i + 1, command) show_item(i + 1, command)
show_bar() show_bar()
if len(self.transfers) > 1:
show_total(self.balance - initial_balance, plus='+')
show_bar()
show_total(self.balance) show_total(self.balance)
if self.balance < 0: if self.balance < 0: