[more] Don't append space after a cut not ended by space
This commit is contained in:
parent
d4b6283e23
commit
a089efff1a
1 changed files with 3 additions and 1 deletions
|
@ -193,6 +193,8 @@ class Response:
|
|||
|
||||
elif self.elt > 0:
|
||||
msg += "[…]"
|
||||
if self.messages[0][self.elt - 1] == ' ':
|
||||
msg += " "
|
||||
|
||||
elts = self.messages[0][self.elt:]
|
||||
if isinstance(elts, list):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue