mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main
commit
dc0fd86c39
|
|
@ -461,8 +461,7 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
else:
|
else:
|
||||||
while len(name) < 16:
|
while len(name) < 16:
|
||||||
name += ' '
|
name += ' '
|
||||||
udata = speakerJson['content']
|
content = speakerJson['content']
|
||||||
content = udata.encode("ascii","ignore").decode().strip()
|
|
||||||
if speakerJson.get('detectedLinks'):
|
if speakerJson.get('detectedLinks'):
|
||||||
if len(speakerJson['detectedLinks']) > 0:
|
if len(speakerJson['detectedLinks']) > 0:
|
||||||
content = '🔗' + content
|
content = '🔗' + content
|
||||||
|
|
@ -472,7 +471,7 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
while len(content) < 40:
|
while len(content) < 40:
|
||||||
content += ' '
|
content += ' '
|
||||||
print(indent + str(posStr) + ' | ' + name + ' | ' +
|
print(indent + str(posStr) + ' | ' + name + ' | ' +
|
||||||
published + ' | ' + content + ' |')
|
published + ' | ' + content)
|
||||||
ctr += 1
|
ctr += 1
|
||||||
|
|
||||||
print('')
|
print('')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue