File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
py/selenium/webdriver/remote Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -97,16 +97,14 @@ def __init__(
9797 self .proxy = proxy
9898 self .ignore_certificates = ignore_certificates
9999 self .init_args_for_pool_manager = init_args_for_pool_manager or {}
100- self .timeout = timeout
100+ self .timeout = socket . getdefaulttimeout () if timeout is None else timeout
101101 self .username = username
102102 self .password = password
103103 self .auth_type = auth_type
104104 self .token = token
105105 self .user_agent = user_agent
106106 self .extra_headers = extra_headers
107107
108- self .timeout = socket .getdefaulttimeout () if timeout is None else timeout
109-
110108 self .ca_certs = (
111109 (os .getenv ("REQUESTS_CA_BUNDLE" ) if "REQUESTS_CA_BUNDLE" in os .environ else certifi .where ())
112110 if ca_certs is None
You can’t perform that action at this time.
0 commit comments