From f5d40285a1162098d3f85262e1506aaef7d2c463 Mon Sep 17 00:00:00 2001 From: Florian Streibelt Date: Wed, 19 Oct 2011 01:56:37 +0200 Subject: [PATCH] fixed typos and increased display time for price info --- client-barcode/freitagskasse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-barcode/freitagskasse.py b/client-barcode/freitagskasse.py index e3d2387..d3e377d 100644 --- a/client-barcode/freitagskasse.py +++ b/client-barcode/freitagskasse.py @@ -133,7 +133,7 @@ def item_info_page(item): print(COLOR_MUCH + 'Zum Kaufen bitte einloggen.' + COLOR_RESET) print() - delay('Weiter', 3) + delay('Weiter', 5) class Status: @@ -236,7 +236,7 @@ class Status: print(COLOR_MUCH + 'Bitte einloggen.' + COLOR_RESET) print() print('Scanne dazu deine ID-Karte mit dem Barcode-Leser.') - myDisplay.display_screen("LOGIN","Bitte scanne Deinen login-Token! *** ") + myDisplay.display_screen("LOGIN","Bitte scanne Deinen Login-Token! *** ") print() def logged_in(self): @@ -477,7 +477,7 @@ def main(): print_prompt() line = read_line(sys.stdin, timeout=3*60.0, timeout_func=status.logout) if line: - myDisplay.write('\x0cBarcode:\n%20s' % line[:20]) + myDisplay.write('\x0cRFID/Barcode:\n%20s' % line[:20]) handle(line, status)