improve code
This commit is contained in:
parent
52adc37434
commit
8ea6e37537
@ -132,8 +132,7 @@ 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:
|
||||||
eterm = env["TERM"]
|
if env["TERM"] == '':
|
||||||
if eterm == '':
|
|
||||||
env["TERM"] = 'linux'
|
env["TERM"] = 'linux'
|
||||||
except:
|
except:
|
||||||
env["TERM"] = 'linux'
|
env["TERM"] = 'linux'
|
||||||
|
Loading…
Reference in New Issue
Block a user