From 316d046628c391a11f966f19b59af379c15ff457 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi Date: Fri, 23 Aug 2019 17:20:07 +0200 Subject: [PATCH] Indent return statement in parse*entities (#1473) --- telegram/message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram/message.py b/telegram/message.py index e2e9ca074..2e7731e25 100644 --- a/telegram/message.py +++ b/telegram/message.py @@ -841,7 +841,7 @@ class Message(TelegramObject): entity_text = self.text.encode('utf-16-le') entity_text = entity_text[entity.offset * 2:(entity.offset + entity.length) * 2] - return entity_text.decode('utf-16-le') + return entity_text.decode('utf-16-le') def parse_caption_entity(self, entity): """Returns the text from a given :class:`telegram.MessageEntity`. @@ -866,7 +866,7 @@ class Message(TelegramObject): entity_text = self.caption.encode('utf-16-le') entity_text = entity_text[entity.offset * 2:(entity.offset + entity.length) * 2] - return entity_text.decode('utf-16-le') + return entity_text.decode('utf-16-le') def parse_entities(self, types=None): """