mirror of https://gitlab.com/bashrc2/epicyon
Remove spaces
parent
db8c0a3673
commit
799c3c9543
|
@ -453,7 +453,7 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
posStr += ' '
|
posStr += ' '
|
||||||
if speakerJson.get('name'):
|
if speakerJson.get('name'):
|
||||||
udata = speakerJson['name']
|
udata = speakerJson['name']
|
||||||
name = udata.encode("ascii", "ignore").decode()
|
name = strip(udata.encode("ascii", "ignore").decode())
|
||||||
else:
|
else:
|
||||||
name = ''
|
name = ''
|
||||||
if len(name) > 16:
|
if len(name) > 16:
|
||||||
|
@ -462,7 +462,7 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
while len(name) < 16:
|
while len(name) < 16:
|
||||||
name += ' '
|
name += ' '
|
||||||
udata = speakerJson['content']
|
udata = speakerJson['content']
|
||||||
content = udata.encode("ascii","ignore").decode()
|
content = strip(udata.encode("ascii","ignore").decode())
|
||||||
if speakerJson.get('detectedLinks'):
|
if speakerJson.get('detectedLinks'):
|
||||||
if len(speakerJson['detectedLinks']) > 0:
|
if len(speakerJson['detectedLinks']) > 0:
|
||||||
content = '🔗' + content
|
content = '🔗' + content
|
||||||
|
|
Loading…
Reference in New Issue