From 7a86a2863365b4cd564059a9358198b208790607 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Fri, 15 Jun 2012 12:53:27 +0200 Subject: [PATCH] Fixed: Called select module instead of function --- client-barcode/freitagskasse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-barcode/freitagskasse.py b/client-barcode/freitagskasse.py index aa4308f..c823916 100644 --- a/client-barcode/freitagskasse.py +++ b/client-barcode/freitagskasse.py @@ -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