From b6795e83254a8c7dcbf03ad596dcda9a8b4d2caa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Mar 2021 14:59:53 +0000 Subject: [PATCH] Add icon before truncation --- notifications_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications_client.py b/notifications_client.py index f4eaff0e3..29d2070f5 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -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