File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ def _get_con_pool():
39
39
if _CON_POOL is not None :
40
40
return _CON_POOL
41
41
42
- _CON_POOL = urllib3 .PoolManager (
43
- maxsize = CON_POOL_SIZE ,
44
- cert_reqs = 'CERT_REQUIRED' ,
45
- ca_certs = certifi .where (),
46
- socket_options = HTTPConnection .default_socket_options + [
47
- (socket .SOL_SOCKET , socket .SO_KEEPALIVE , 1 ),
48
- ])
42
+ _CON_POOL = urllib3 .PoolManager (maxsize = CON_POOL_SIZE ,
43
+ cert_reqs = 'CERT_REQUIRED' ,
44
+ ca_certs = certifi .where (),
45
+ socket_options = HTTPConnection .default_socket_options + [
46
+ (socket .SOL_SOCKET , socket .SO_KEEPALIVE , 1 ),
47
+ ])
49
48
return _CON_POOL
50
49
51
50
@@ -60,7 +59,6 @@ def stop_con_pool():
60
59
_CON_POOL = None
61
60
62
61
63
-
64
62
def _parse (json_data ):
65
63
"""Try and parse the JSON returned from Telegram.
66
64
You can’t perform that action at this time.
0 commit comments