[more] Don't append space after a cut not ended by space
This commit is contained in:
parent
d4b6283e23
commit
a089efff1a
@ -192,7 +192,9 @@ class Response:
|
|||||||
msg += self.title + ": "
|
msg += self.title + ": "
|
||||||
|
|
||||||
elif self.elt > 0:
|
elif self.elt > 0:
|
||||||
msg += "[…] "
|
msg += "[…]"
|
||||||
|
if self.messages[0][self.elt - 1] == ' ':
|
||||||
|
msg += " "
|
||||||
|
|
||||||
elts = self.messages[0][self.elt:]
|
elts = self.messages[0][self.elt:]
|
||||||
if isinstance(elts, list):
|
if isinstance(elts, list):
|
||||||
|
Loading…
Reference in New Issue
Block a user