Skip to content

Commit 15e10d5

Browse files
committed
fixup! bot.py: replace message decorator with an explicit method call
1 parent 8abdfdd commit 15e10d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ def getUpdates(self, offset=None, limit=100, timeout=0, network_delay=5., **kwar
11851185

11861186
urlopen_timeout = timeout + network_delay
11871187

1188-
result = self._post_message(url, data, Update, True, **kwargs)
1188+
result = self._post_message(url, data, Update, True, urlopen_timeout, **kwargs)
11891189

11901190
if result:
11911191
self.logger.debug('Got updates: %s', [u.update_id for u in result])

0 commit comments

Comments
 (0)