undo re-encoding

This commit is contained in:
PidgeyL
2016-01-04 09:04:12 +01:00
parent 1c0d7cf3e4
commit f0daab74f6

View File

@@ -201,9 +201,7 @@ class Client(object):
:param message: a text that you want to send :param message: a text that you want to send
:param like: size of the like sticker you want to send :param like: size of the like sticker you want to send
""" """
# sanatize data:
if message:
message=message.encode("unicode-escape").decode("utf-8")
timestamp = now() timestamp = now()
date = datetime.now() date = datetime.now()
data = { data = {