diff options
author | William Holland <william.holland@codethink.co.uk> | 2015-05-30 19:49:05 +0100 |
---|---|---|
committer | William Holland <william.holland@codethink.co.uk> | 2015-05-30 19:49:05 +0100 |
commit | f0f668e590a908ab159538740f1679ad351eb85b (patch) | |
tree | a5e369fa5e645aeef0d7f630897320eca646f6d7 /keyboardpython | |
parent | 2330917c80eb963a411626d72ea0a38b414abbe6 (diff) | |
download | keyboard-python-f0f668e590a908ab159538740f1679ad351eb85b.tar.bz2 |
Remove unneeded fork
Diffstat (limited to 'keyboardpython')
-rw-r--r-- | keyboardpython/key.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/keyboardpython/key.py b/keyboardpython/key.py index c088c46..548ef1d 100644 --- a/keyboardpython/key.py +++ b/keyboardpython/key.py @@ -203,10 +203,7 @@ def parse_code(code): elif char == 'O': _code, key_comb = match_start_in_table(_code, _escape_O_codes) - else: - key_comb = KeyCombination(ALT) - elif char.isalnum(): - key_comb = KeyCombination(char) + else: key_comb = KeyCombination(ALT) elif char in _special_chars.keys(): key_comb = KeyCombination(_special_chars[char]) elif _is_ctrl_alpha(char): |