Browse Source

Fixed: Called select module instead of function

master
Sebastian Lohff 10 years ago
parent
commit
7a86a28633
  1. 2
      client-barcode/freitagskasse.py

2
client-barcode/freitagskasse.py

@ -93,7 +93,7 @@ def delay(what, seconds): @@ -93,7 +93,7 @@ def delay(what, seconds):
sys.stdout.write('\r')
sys.stdout.write('%s in %d Sekunden... ' % (what, i))
sys.stdout.flush()
(read_list, _, _) = select([sys.stdin], [], [], 1)
(read_list, _, _) = select.select([sys.stdin], [], [], 1)
if len(read_list) > 0:
# input on stdin, quit delay
return

Loading…
Cancel
Save