diff --git a/keyboard/_canonical_names.py b/keyboard/_canonical_names.py index 2a4afe95..003fd3b8 100644 --- a/keyboard/_canonical_names.py +++ b/keyboard/_canonical_names.py @@ -36,7 +36,7 @@ 'ctrll lock': 'caps lock', 'capslock': 'caps lock', 'number lock': 'num lock', - 'numlock:': 'num lock', + 'numlock': 'num lock', 'space bar': 'space', 'spacebar': 'space', 'linefeed': 'enter', @@ -1243,4 +1243,4 @@ def normalize_name(name): if name != '_' and '_' in name: name = name.replace('_', ' ') - return canonical_names.get(name, name) \ No newline at end of file + return canonical_names.get(name, name)