mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 07:57:16 +02:00
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
|
||||
tupper = term.upper()
|
||||
# identify xterm256 based on flag
|
||||
xterm256 = (tupper.endswith("-256COLOR") # Apple Terminal, old Tintin or
|
||||
tupper.endswith("XTERM") and # old Tintin, Putty
|
||||
xterm256 = (tupper.endswith("-256COLOR") or # Apple Terminal, old Tintin
|
||||
tupper.endswith("XTERM") and # old Tintin, Putty
|
||||
not tupper.endswith("-COLOR"))
|
||||
if xterm256:
|
||||
self.protocol.protocol_flags['ANSI'] = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue