mirror of https://gitlab.com/bashrc2/epicyon
Add icon before truncation
parent
dcde088955
commit
b6795e8325
|
@ -431,9 +431,9 @@ def _showLocalBox(boxName: str,
|
||||||
content = speakerJson['content']
|
content = speakerJson['content']
|
||||||
while len(content) < 40:
|
while len(content) < 40:
|
||||||
content += ' '
|
content += ' '
|
||||||
content = (content[:40]) if len(content) > 40 else content
|
|
||||||
if speakerJson.get('detectedLinks'):
|
if speakerJson.get('detectedLinks'):
|
||||||
content = '🔗' + content
|
content = '🔗' + content
|
||||||
|
content = (content[:40]) if len(content) > 40 else content
|
||||||
print(indent + str(posStr) + ' | ' + str(name) + ' | ' +
|
print(indent + str(posStr) + ' | ' + str(name) + ' | ' +
|
||||||
str(published) + ' | ' + str(content) + ' |')
|
str(published) + ' | ' + str(content) + ' |')
|
||||||
ctr += 1
|
ctr += 1
|
||||||
|
|
Loading…
Reference in New Issue