mirror of https://gitlab.com/bashrc2/epicyon
Allow unicode within content
parent
cb8fdba915
commit
f82ee3bc6c
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue