mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
remove check for network_delay
This commit is contained in:
parent
61dac76bee
commit
93afd3eabe
1 changed files with 1 additions and 4 deletions
|
@ -86,10 +86,7 @@ def post(url,
|
|||
# Add time to the timeout of urlopen to allow data to be transferred over
|
||||
# the network.
|
||||
if 'timeout' in data:
|
||||
if network_delay:
|
||||
timeout = data['timeout'] + network_delay
|
||||
else:
|
||||
timeout = data['timeout']
|
||||
timeout = data['timeout'] + network_delay
|
||||
else:
|
||||
timeout = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue