mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Moved unicode/str conversions to sessionhandler level in order to still allow message_all session messages without triggering unicode tracebacks (such as when server restarts).
This commit is contained in:
parent
a749f0c5ca
commit
c4c662b33e
3 changed files with 13 additions and 9 deletions
|
|
@ -1105,7 +1105,7 @@ class lazy_property(object):
|
|||
|
||||
_STRIP_ANSI = None
|
||||
_RE_CONTROL_CHAR = re.compile('[%s]' % re.escape(''.join([unichr(c) for c in range(0,32)])))# + range(127,160)])))
|
||||
def escape_control_sequences(string):
|
||||
def strip_control_sequences(string):
|
||||
"""
|
||||
remove non-print text sequences from string.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue