fixup! bot.py: replace message decorator with an explicit method call

This commit is contained in:
Noam Meltzer 2016-07-25 23:56:16 +03:00
parent 8abdfdd5e7
commit 15e10d5ae8

View file

@ -1185,7 +1185,7 @@ class Bot(TelegramObject):
urlopen_timeout = timeout + network_delay
result = self._post_message(url, data, Update, True, **kwargs)
result = self._post_message(url, data, Update, True, urlopen_timeout, **kwargs)
if result:
self.logger.debug('Got updates: %s', [u.update_id for u in result])