diff options
author | William Holland <william.holland@codethink.co.uk> | 2015-05-30 22:54:12 +0100 |
---|---|---|
committer | William Holland <william.holland@codethink.co.uk> | 2015-05-30 22:54:12 +0100 |
commit | d334557fb68f79d7729af498bf7bac40aaa8f51a (patch) | |
tree | 00f4d389bc88e3af3e1afab5ac19258062170c07 /keyboardpython | |
parent | 83c5a6cbc454fe70328f12612c73a8c494ba1007 (diff) | |
download | keyboard-python-d334557fb68f79d7729af498bf7bac40aaa8f51a.tar.bz2 |
Fix escape not working
Diffstat (limited to 'keyboardpython')
-rw-r--r-- | keyboardpython/key.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboardpython/key.py b/keyboardpython/key.py index 123843f..57fbffc 100644 --- a/keyboardpython/key.py +++ b/keyboardpython/key.py @@ -191,8 +191,7 @@ def parse_code(code): char = _code.pop(0) if char == ESC: if not _code: - key = _special_chars[ESC] - return KeyCombination(key) + return _special_chars[ESC] char = _code.pop(0) if char == '[': _code, key_comb = _match_start_in_table(_code, |