mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 14:46:29 +01:00
fixup! bot.py: replace message decorator with an explicit method call
This commit is contained in:
parent
8abdfdd5e7
commit
15e10d5ae8
1 changed files with 1 additions and 1 deletions
|
@ -1185,7 +1185,7 @@ class Bot(TelegramObject):
|
||||||
|
|
||||||
urlopen_timeout = timeout + network_delay
|
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:
|
if result:
|
||||||
self.logger.debug('Got updates: %s', [u.update_id for u in result])
|
self.logger.debug('Got updates: %s', [u.update_id for u in result])
|
||||||
|
|
Loading…
Reference in a new issue