renamed to a more sane name

This commit is contained in:
Florian Streibelt 2011-10-15 05:41:05 +02:00
parent 18f1de1b26
commit bc234a691c
1 changed files with 6 additions and 6 deletions

View File

@ -315,16 +315,16 @@ class Status:
show_bar()
if isinstance(command, BuyCommand):
muff = 0;
mycmd = 0;
if (command.includes_commodity()):
muff+=1;
mycmd+=1;
if (command.includes_deposit()):
muff+=2;
if (muff==1):
mycmd+=2;
if (mycmd==1):
mylabel=command.item_name()
if (muff==2):
if (mycmd==2):
mylabel="Pfand "+command.commodity_label()[:9]
if (muff==3):
if (mycmd==3):
mylabel=("%-13s" % (command.commodity_label()[:13]))+"+P"
print_display('\x0b%-15s %4.2f' % (mylabel[:15],abs(command.difference())));
print_display('\x0b\nSUMME: {%02i} %8.2f' % ((i-1),initial_balance - self.balance));