Revert "improve code"

This reverts commit 8ea6e37537.
This commit is contained in:
Chrys 2019-08-13 09:44:00 +02:00
parent 8ea6e37537
commit 9e48fb1cf6

View File

@ -132,7 +132,8 @@ class driver(screenDriver):
env = os.environ.copy() env = os.environ.copy()
#values are VT100,xterm-256color,linux #values are VT100,xterm-256color,linux
try: try:
if env["TERM"] == '': eterm = env["TERM"]
if eterm == '':
env["TERM"] = 'linux' env["TERM"] = 'linux'
except: except:
env["TERM"] = 'linux' env["TERM"] = 'linux'