summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.py')
-rwxr-xr-xsrc/keyboard.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index 34b1c185..94eba47f 100755
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -110,7 +110,6 @@ def get_char_list_new(s):
pass
except ValueError: # invalid input
log.debug('Invalid character entered.')
- pass
else:
key = 'M-%s' % part
# and an even more special case for keys like
@@ -123,7 +122,6 @@ def get_char_list_new(s):
pass
except ValueError:
log.debug('Invalid character entered.')
- pass
else:
key = '%s-%s' % (key, part)
if key == '\x7f' or key == '\x08':