Fix line ending error caused by autopep8 run
This commit is contained in:
parent
b278337172
commit
994e8f6fb0
1 changed files with 2 additions and 2 deletions
|
|
@ -133,8 +133,8 @@ class Ttype(object):
|
||||||
term = option
|
term = option
|
||||||
tupper = term.upper()
|
tupper = term.upper()
|
||||||
# identify xterm256 based on flag
|
# identify xterm256 based on flag
|
||||||
xterm256 = (tupper.endswith("-256COLOR") # Apple Terminal, old Tintin or
|
xterm256 = (tupper.endswith("-256COLOR") or # Apple Terminal, old Tintin
|
||||||
tupper.endswith("XTERM") and # old Tintin, Putty
|
tupper.endswith("XTERM") and # old Tintin, Putty
|
||||||
not tupper.endswith("-COLOR"))
|
not tupper.endswith("-COLOR"))
|
||||||
if xterm256:
|
if xterm256:
|
||||||
self.protocol.protocol_flags['ANSI'] = True
|
self.protocol.protocol_flags['ANSI'] = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue