Fixed: Called select module instead of function

This commit is contained in:
Sebastian Lohff 2012-06-15 12:53:27 +02:00
부모 1972d80d8e
커밋 7a86a28633
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

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