From 0b7dce28db70198bf0dabf2bc7115f49b6520276 Mon Sep 17 00:00:00 2001 From: Sean Corrigan Date: Thu, 24 Dec 2020 15:04:14 -0500 Subject: [PATCH] line managament issues - no display error fixed --- PIcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIcontroller.py b/PIcontroller.py index c4befe5..01367f0 100644 --- a/PIcontroller.py +++ b/PIcontroller.py @@ -23,7 +23,7 @@ def fixformatting(message): fixedmessage = [""] counter = 0 for word in message.split(" "): - if counter + len(word) >= 22: + if counter + len(word) >= 20: counter = 0 fixedmessage.append("\n") fixedmessage.append("{} ".format(word))