Skip to content

Commit

Permalink
BrailleNote QT: no more ord(arg2) due to stringification. Re nvaccess…
Browse files Browse the repository at this point in the history
…#5992.

Perhaps due to use of HwIO: strings are passed in, so no need to ord it anymore. This means QT commands will no longer fail to function.
  • Loading branch information
josephsl committed Jun 13, 2018
1 parent 0b390d2 commit 1de5404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/brailleDisplayDrivers/brailleNote.py
Expand Up @@ -242,7 +242,7 @@ def _onReceive(self, command):
arg2 = _qtKeys.get(ord(key), key)
else:
arg2 = None
self._dispatch(command, ord(arg), ord(arg2) if arg2 is not None else None)
self._dispatch(command, ord(arg), arg2 if arg2 is not None else None)

def _dispatch(self, command, arg, arg2=None):
space = False
Expand Down

0 comments on commit 1de5404

Please sign in to comment.