line managament issues - no display error fixed
This commit is contained in:
parent
dc3e24135e
commit
0b7dce28db
@ -23,7 +23,7 @@ def fixformatting(message):
|
|||||||
fixedmessage = [""]
|
fixedmessage = [""]
|
||||||
counter = 0
|
counter = 0
|
||||||
for word in message.split(" "):
|
for word in message.split(" "):
|
||||||
if counter + len(word) >= 22:
|
if counter + len(word) >= 20:
|
||||||
counter = 0
|
counter = 0
|
||||||
fixedmessage.append("\n")
|
fixedmessage.append("\n")
|
||||||
fixedmessage.append("{} ".format(word))
|
fixedmessage.append("{} ".format(word))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user