From a47ad7461964179816a4b5a9863b78d16971a4bd Mon Sep 17 00:00:00 2001 From: git-sid <25916907+git-sid@users.noreply.github.com> Date: Mon, 7 Jan 2019 19:00:51 +0100 Subject: [PATCH] Replace 3 dots with ellipsis to save space --- active_bots/telegrambot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/active_bots/telegrambot.py b/active_bots/telegrambot.py index 439583b..4034743 100644 --- a/active_bots/telegrambot.py +++ b/active_bots/telegrambot.py @@ -63,7 +63,7 @@ class TelegramBot(Bot): tb = Telegram(user.get_telegram_credentials()) text = report.text if len(text) > 4096: - text = text[:4096 - 4] + u' ...' + text = text[:4096 - 2] + " \N{Horizontal ellipsis}" try: for subscriber_id in user.get_telegram_subscribers(): tb.send_message(subscriber_id, text).wait()