From 414db210674e8e984ff0acb3806e96144fbc30d5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Mar 2021 18:29:22 +0000 Subject: [PATCH] Sequence --- notifications_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index 0937b43a3..70bdac143 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -310,13 +310,13 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None: name = speakerJson['name'] else: name = '' - name = (name[:16]) if len(name) > 16 else name while len(name) < 16: name += ' ' + name = (name[:16]) if len(name) > 16 else name content = speakerJson['content'] - content = (content[:40]) if len(content) > 40 else content while len(content) < 40: content += ' ' + content = (content[:40]) if len(content) > 40 else content print(str(posStr) + ' | ' + str(name) + ' | ' + str(published) + ' | ' + str(content) + ' |') print('')