Revert "improve code"
This reverts commit 8ea6e375379e53bd04b1b72a06555add203f3c13.
This commit is contained in:
parent
8ea6e37537
commit
9e48fb1cf6
@ -132,7 +132,8 @@ class driver(screenDriver):
|
||||
env = os.environ.copy()
|
||||
#values are VT100,xterm-256color,linux
|
||||
try:
|
||||
if env["TERM"] == '':
|
||||
eterm = env["TERM"]
|
||||
if eterm == '':
|
||||
env["TERM"] = 'linux'
|
||||
except:
|
||||
env["TERM"] = 'linux'
|
||||
|
Loading…
x
Reference in New Issue
Block a user