Browse Source

renamed to a more sane name

Florian Streibelt 9 years ago
parent
commit
bc234a691c
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      client-barcode/freitagskasse.py

+ 6
- 6
client-barcode/freitagskasse.py View File

@@ -315,16 +315,16 @@ class Status:
315 315
 				show_bar()
316 316
 
317 317
 				if isinstance(command, BuyCommand):
318
-					muff = 0;
318
+					mycmd = 0;
319 319
 					if (command.includes_commodity()):
320
-						muff+=1;
320
+						mycmd+=1;
321 321
 					if (command.includes_deposit()):
322
-						muff+=2;
323
-					if (muff==1):	
322
+						mycmd+=2;
323
+					if (mycmd==1):	
324 324
 						mylabel=command.item_name()
325
-					if (muff==2):	
325
+					if (mycmd==2):	
326 326
 						mylabel="Pfand "+command.commodity_label()[:9]
327
-					if (muff==3):	
327
+					if (mycmd==3):	
328 328
 						mylabel=("%-13s" % (command.commodity_label()[:13]))+"+P"
329 329
 					print_display('\x0b%-15s %4.2f' % (mylabel[:15],abs(command.difference())));
330 330
 					print_display('\x0b\nSUMME: {%02i} %8.2f' % ((i-1),initial_balance - self.balance));

Loading…
Cancel
Save