Add icon before truncation

merge-requests/30/head
Bob Mottram 2021-03-15 14:59:53 +00:00
parent dcde088955
commit b6795e8325
1 changed files with 1 additions and 1 deletions

View File

@ -431,9 +431,9 @@ def _showLocalBox(boxName: str,
content = speakerJson['content']
while len(content) < 40:
content += ' '
content = (content[:40]) if len(content) > 40 else content
if speakerJson.get('detectedLinks'):
content = '🔗' + content
content = (content[:40]) if len(content) > 40 else content
print(indent + str(posStr) + ' | ' + str(name) + ' | ' +
str(published) + ' | ' + str(content) + ' |')
ctr += 1