Skip to content

Commit

Permalink
Fix keystroke errors on osx (github #118)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-chong committed Jul 15, 2018
1 parent d3b7283 commit d3c1e6b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/osx/server_osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,6 @@ def key_press(
key_to_press = _KEYCODE_TRANSLATION.get(key.lower(), None)
command = 'key code "{0}"'.format(key_to_press)

if key_to_press is None:
raise RuntimeError("Don't know how to handle keystroke {0}".format(key))

if modifiers:
elems = map(lambda s: "%s down" % s, modifiers)
key_command = "%s using {%s} " % (command, ', '.join(elems))
Expand Down

0 comments on commit d3c1e6b

Please sign in to comment.