Fixed: Called select module instead of function
This commit is contained in:
parent
1972d80d8e
commit
7a86a28633
|
@ -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…
Reference in New Issue