From 38ba434bfe934bc7bb0404dcda8c0abc2c5d8c7b Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 29 May 2018 19:56:42 +0200 Subject: [PATCH] fix syntax --- src/fenrirscreenreader/core/attributeManager.py | 2 +- src/fenrirscreenreader/core/fenrirManager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrirscreenreader/core/attributeManager.py b/src/fenrirscreenreader/core/attributeManager.py index f51fd893..00930936 100644 --- a/src/fenrirscreenreader/core/attributeManager.py +++ b/src/fenrirscreenreader/core/attributeManager.py @@ -111,7 +111,7 @@ class attributeManager(): try: attribute = self.getAttributeByXY( cursorPos['x'], cursorPos['y']) - if self.isDefaultAttribute(attribute): + if self.isDefaultAttribute(attribute): return False if update: self.setLastCursorAttribute(attribute) diff --git a/src/fenrirscreenreader/core/fenrirManager.py b/src/fenrirscreenreader/core/fenrirManager.py index 1b3d8fa2..6e4d70c9 100644 --- a/src/fenrirscreenreader/core/fenrirManager.py +++ b/src/fenrirscreenreader/core/fenrirManager.py @@ -101,7 +101,7 @@ class fenrirManager(): if self.controlMode and not self.switchCtrlModeOnce == 1 or\ not self.controlMode: isControlMode = self.handleControlMode(event['Data']) - + isCommand = False if self.controlMode and not self.switchCtrlModeOnce == 1 or\ not self.controlMode and self.switchCtrlModeOnce == 1: