From 52bc162b10a935874513220489852bf8d0ea2a9a Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 29 May 2018 19:33:36 +0200 Subject: [PATCH] fix some conversion --- src/fenrirscreenreader/core/attributeManager.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/fenrirscreenreader/core/attributeManager.py b/src/fenrirscreenreader/core/attributeManager.py index ffa55f67..f51fd893 100644 --- a/src/fenrirscreenreader/core/attributeManager.py +++ b/src/fenrirscreenreader/core/attributeManager.py @@ -110,10 +110,8 @@ class attributeManager(): cursorPos = cursor.copy() try: attribute = self.getAttributeByXY( cursorPos['x'], cursorPos['y']) - print(attribute) - if isinstance(attribute, tuple): - attribute = list(attribute) - if self.isDefaultAttribute(attribute): + + if self.isDefaultAttribute(attribute): return False if update: self.setLastCursorAttribute(attribute)