From 304432c33dba454e2c7c11a67bd2fcbbb2d1480c Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 28 May 2018 09:52:58 +0200 Subject: [PATCH] Update attributeManager.py --- src/fenrirscreenreader/core/attributeManager.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/core/attributeManager.py b/src/fenrirscreenreader/core/attributeManager.py index ddb13395..1b0d3ac6 100644 --- a/src/fenrirscreenreader/core/attributeManager.py +++ b/src/fenrirscreenreader/core/attributeManager.py @@ -208,9 +208,7 @@ class attributeManager(): if oldAttr[line][column] != newAttr[line][column]: if not self.isDefaultAttribute(newAttr[line][column]): if not currCursor: - currCursor = {} - currCursor['x'] = column - currCursor['y'] = line + currCursor = {'x': column, 'y': line} result += textLines[line][column] result += ' ' return result, currCursor