diff options
Diffstat (limited to 'src/keyboard.py')
-rw-r--r-- | src/keyboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py index 4a577d16..a0ac8d6d 100644 --- a/src/keyboard.py +++ b/src/keyboard.py @@ -52,7 +52,7 @@ def read_char(s): if first == 27: (first, c) = get_next_byte(s) if not isinstance(first, int): - return None + return Nones return "M-"+chr(first) if 194 <= first: (code, c) = get_next_byte(s) # 2 bytes char |