typo for telegram agent

This commit is contained in:
Ricardo Tapia 2015-12-31 21:08:24 -06:00
parent 1d48688518
commit 89cda3dcff

View file

@ -1555,7 +1555,7 @@ class TELEGRAM(object):
http_handler.request("POST",
"/bot%s/%s" % (self.bot_token, "sendMessage"),
headers={'Content-type': "application/x-www-form-urlencoded"},
payload=urlencode(data))
body=urlencode(data))
response = http_handler.getresponse()
request_status = response.status