Skip to content

Commit

Permalink
fixup! bot.py: replace message decorator with an explicit method call
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnoam committed Jul 25, 2016
1 parent 8abdfdd commit 15e10d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/bot.py
Expand Up @@ -1185,7 +1185,7 @@ def getUpdates(self, offset=None, limit=100, timeout=0, network_delay=5., **kwar

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])
Expand Down

0 comments on commit 15e10d5

Please sign in to comment.