main
Bob Mottram 2021-03-12 18:29:22 +00:00
parent c3eaae34f3
commit 414db21067
1 changed files with 2 additions and 2 deletions

View File

@ -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('')