From 8c2d66fca1e0a44f624fa62274584eae28052cf8 Mon Sep 17 00:00:00 2001 From: Sean Corrigan Date: Thu, 24 Dec 2020 16:47:54 -0500 Subject: [PATCH] Fixed overflow --- PIcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIcontroller.py b/PIcontroller.py index 5db4119..350199d 100644 --- a/PIcontroller.py +++ b/PIcontroller.py @@ -26,7 +26,7 @@ def fixformatting(message): fixedmessage = [""] counter = 0 for word in message.split(" "): - if counter + len(word) >= 25: + if counter + len(word) >= 18: counter = 0 fixedmessage.append("\n") fixedmessage.append("{} ".format(word))