From 93afd3eabe0015ac8ac2ec1e3f2e30d9ddb28728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Tue, 10 Nov 2015 23:12:20 +0100 Subject: [PATCH] remove check for network_delay --- telegram/utils/request.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/telegram/utils/request.py b/telegram/utils/request.py index bf3616e7f..29cdcc454 100644 --- a/telegram/utils/request.py +++ b/telegram/utils/request.py @@ -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