X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=input_utils.py;fp=input_utils.py;h=7d5e18089331a96bc32172b90e916a37c0695d49;hb=e8fbbb7306430478dec55d2c963eed116d8330cc;hp=a166d7a4169e56937e8bb63c4398aff1abc52564;hpb=0d63d44ac89aab38fe95f36497adaf95110ab949;p=python_utils.git diff --git a/input_utils.py b/input_utils.py index a166d7a..7d5e180 100644 --- a/input_utils.py +++ b/input_utils.py @@ -37,7 +37,7 @@ def single_keystroke_response( try: while True: response = readchar.readchar() - logger.debug(f'Keystroke: {ord(response)}') + logger.debug('Keystroke: 0x%x', ord(response)) if response in valid_responses: break if ord(response) in os_special_keystrokes: