mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
ypaf fixes
This commit is contained in:
parent
fc05d3a626
commit
494a7ec1e4
1 changed files with 6 additions and 8 deletions
|
@ -39,8 +39,7 @@ def _get_con_pool():
|
|||
if _CON_POOL is not None:
|
||||
return _CON_POOL
|
||||
|
||||
_CON_POOL = urllib3.PoolManager(
|
||||
maxsize=CON_POOL_SIZE,
|
||||
_CON_POOL = urllib3.PoolManager(maxsize=CON_POOL_SIZE,
|
||||
cert_reqs='CERT_REQUIRED',
|
||||
ca_certs=certifi.where(),
|
||||
socket_options=HTTPConnection.default_socket_options + [
|
||||
|
@ -60,7 +59,6 @@ def stop_con_pool():
|
|||
_CON_POOL = None
|
||||
|
||||
|
||||
|
||||
def _parse(json_data):
|
||||
"""Try and parse the JSON returned from Telegram.
|
||||
|
||||
|
|
Loading…
Reference in a new issue