From 9e27ec92956b51e0bd0b93085e735926e60041c3 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 26 Mar 2018 08:21:59 +0200 Subject: [PATCH] cleanup --- src/fenrirscreenreader/core/fenrirManager.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/fenrirscreenreader/core/fenrirManager.py b/src/fenrirscreenreader/core/fenrirManager.py index a09d2758..0504742a 100644 --- a/src/fenrirscreenreader/core/fenrirManager.py +++ b/src/fenrirscreenreader/core/fenrirManager.py @@ -163,11 +163,8 @@ class fenrirManager(): def detectByteCommand(self, escapeSequence): convertedEscapeSequence = self.environment['runtime']['byteManager'].unifyEscapeSeq(escapeSequence) - try: - command = self.environment['runtime']['inputManager'].getCommandForShortcut(convertedEscapeSequence) - self.environment['runtime']['eventManager'].putToEventQueue(fenrirEventType.ExecuteCommand, command) - except: - pass + command = self.environment['runtime']['inputManager'].getCommandForShortcut(convertedEscapeSequence) + self.environment['runtime']['eventManager'].putToEventQueue(fenrirEventType.ExecuteCommand, command) if self.command != '': self.command = '' def detectCommand(self):