X Tutup
Skip to content

Commit 0f8f658

Browse files
committed
Fix for issue python-telegram-bot#81
1 parent dd498de commit 0f8f658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/echobot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ def echo(bot):
5353
chat_id = update.message.chat_id
5454
reply_text = update.message.text
5555

56-
if (reply_text):
56+
if reply_text:
5757
# Reply the message
5858
bot.sendMessage(chat_id=chat_id,
5959
text=reply_text)
6060

61-
# Updates global offset to get the new updates
62-
LAST_UPDATE_ID = update.update_id + 1
61+
# Updates global offset to get the new updates
62+
LAST_UPDATE_ID = update.update_id + 1
6363

6464

6565
if __name__ == '__main__':

0 commit comments

Comments
 (0)
X Tutup