Remove double import
This was likely introduced by copy-pasting from another file.
See e825a7eac0.
This commit is contained in:
parent
541d080c9d
commit
b3d1a17eaa
1 changed files with 0 additions and 2 deletions
|
|
@ -665,8 +665,6 @@ class BaseBrowser(StandardBrowser):
|
|||
if self._cookie:
|
||||
self._cookie.save()
|
||||
|
||||
import ssl
|
||||
|
||||
def mywrap_socket(sock, *args, **kwargs):
|
||||
kwargs['do_handshake_on_connect']=False
|
||||
kwargs['ssl_version'] = kwargs.get('ssl_version', ssl.PROTOCOL_TLSv1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue