From 30d25dcfaf81da983e7c3180e9a606ed45a75427 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Thu, 24 May 2018 10:02:29 +0200 Subject: [PATCH] Update ptyDriver.py --- src/fenrirscreenreader/screenDriver/ptyDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/screenDriver/ptyDriver.py b/src/fenrirscreenreader/screenDriver/ptyDriver.py index 7645c2ad..175fed63 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -39,7 +39,7 @@ class Terminal: start = time.time() for y in range(self.screen.lines): line = self.screen.buffer[y] - attributes = [list(char[1:] + [False, 'default', 'default']) for char in (line[x] for x in range(self.screen.columns))] + attributes = [list(char[1:]) + [False, 'default', 'default'] for char in (line[x] for x in range(self.screen.columns))] allAttributes.append(attributes) print(time.time() -start) self.screen.dirty.clear()