Show total effect on balance, too

This commit is contained in:
Sebastian Pipping 2011-10-10 04:46:34 +02:00
부모 c720456749
커밋 cf5cae5303
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

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