From 371adb7417c14de5f3e67e9b286f4fc1b38533ff Mon Sep 17 00:00:00 2001 From: Chrys Date: Tue, 13 Aug 2019 09:55:23 +0200 Subject: [PATCH] improve code --- src/fenrirscreenreader/screenDriver/ptyDriver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fenrirscreenreader/screenDriver/ptyDriver.py b/src/fenrirscreenreader/screenDriver/ptyDriver.py index 850cea7a..322941e0 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -132,8 +132,7 @@ class driver(screenDriver): env = os.environ.copy() #values are VT100,xterm-256color,linux try: - eterm = env["TERM"] - if eterm == '': + if env["TERM"] == '': env["TERM"] = 'linux' except: env["TERM"] = 'linux'