mirror of
https://github.com/evennia/evennia.git
synced 2026-04-07 00:45:22 +02:00
Fix a minor issue in ANSIString.rstrip().
This commit is contained in:
parent
f00fbb9d88
commit
2c6227774a
1 changed files with 1 additions and 0 deletions
|
|
@ -1146,6 +1146,7 @@ class ANSIString(with_metaclass(ANSIMeta, unicode)):
|
|||
else:
|
||||
ic -= 1
|
||||
ir2 -= 1
|
||||
rstripped = rstripped[::-1]
|
||||
return ANSIString(raw[:ir2+1] + rstripped)
|
||||
|
||||
def join(self, iterable):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue