Fixed: Called select module instead of function

This commit is contained in:
Sebastian Lohff 2012-06-15 12:53:27 +02:00
parent 1972d80d8e
commit 7a86a28633
1 changed files with 1 additions and 1 deletions

View File

@ -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