fixed typos and increased display time for price info
This commit is contained in:
parent
fb80a1a70d
commit
f5d40285a1
|
@ -133,7 +133,7 @@ def item_info_page(item):
|
||||||
print(COLOR_MUCH + 'Zum Kaufen bitte einloggen.' + COLOR_RESET)
|
print(COLOR_MUCH + 'Zum Kaufen bitte einloggen.' + COLOR_RESET)
|
||||||
print()
|
print()
|
||||||
|
|
||||||
delay('Weiter', 3)
|
delay('Weiter', 5)
|
||||||
|
|
||||||
|
|
||||||
class Status:
|
class Status:
|
||||||
|
@ -236,7 +236,7 @@ class Status:
|
||||||
print(COLOR_MUCH + 'Bitte einloggen.' + COLOR_RESET)
|
print(COLOR_MUCH + 'Bitte einloggen.' + COLOR_RESET)
|
||||||
print()
|
print()
|
||||||
print('Scanne dazu deine ID-Karte mit dem Barcode-Leser.')
|
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()
|
print()
|
||||||
|
|
||||||
def logged_in(self):
|
def logged_in(self):
|
||||||
|
@ -477,7 +477,7 @@ def main():
|
||||||
print_prompt()
|
print_prompt()
|
||||||
line = read_line(sys.stdin, timeout=3*60.0, timeout_func=status.logout)
|
line = read_line(sys.stdin, timeout=3*60.0, timeout_func=status.logout)
|
||||||
if line:
|
if line:
|
||||||
myDisplay.write('\x0cBarcode:\n%20s' % line[:20])
|
myDisplay.write('\x0cRFID/Barcode:\n%20s' % line[:20])
|
||||||
handle(line, status)
|
handle(line, status)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue