fix unicode issue

This commit is contained in:
Leandro Toledo 2015-07-12 10:18:34 -03:00
parent 77930e0d8b
commit 2cee590ca8

View file

@ -21,7 +21,7 @@ def echo():
if LAST_UPDATE_ID < update.update_id:
# chat_id is required to reply any message
chat_id = update.message.chat_id
message = update.message.text
message = update.message.text.encode('utf-8')
if (message):
# Reply the message