X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=input_utils.py;h=a166d7a4169e56937e8bb63c4398aff1abc52564;hb=31c81f6539969a5eba864d3305f9fb7bf716a367;hp=e0b457d5a0e73ffc43d3d83ff09228328e6a641e;hpb=5317c50ce7a96a37acfab3800c0935580766dbbf;p=python_utils.git diff --git a/input_utils.py b/input_utils.py index e0b457d..a166d7a 100644 --- a/input_utils.py +++ b/input_utils.py @@ -11,7 +11,6 @@ import readchar # type: ignore import exceptions - logger = logging.getLogger(__file__) @@ -52,9 +51,7 @@ def single_keystroke_response( print(prompt, end="") sys.stdout.flush() try: - response = _single_keystroke_response_internal( - valid_responses, timeout_seconds - ) + response = _single_keystroke_response_internal(valid_responses, timeout_seconds) if ord(response) == 3: raise KeyboardInterrupt('User pressed ^C in input_utils.')