From c3eaae34f3b9de341a6c7746d08da09448b38f57 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Mar 2021 18:26:24 +0000 Subject: [PATCH] Padding --- notifications_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notifications_client.py b/notifications_client.py index 473bab701..0937b43a3 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -315,6 +315,8 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None: name += ' ' content = speakerJson['content'] content = (content[:40]) if len(content) > 40 else content + while len(content) < 40: + content += ' ' print(str(posStr) + ' | ' + str(name) + ' | ' + str(published) + ' | ' + str(content) + ' |') print('')