mirror of https://github.com/kivy/kivy.git
Fix pep8
This commit is contained in:
parent
2ecc461727
commit
26c69a2abf
|
@ -272,7 +272,8 @@ class UrlRequest(Thread):
|
|||
ctx.verify_mode = ssl.CERT_REQUIRED
|
||||
args['context'] = ctx
|
||||
|
||||
if not verify and parse.scheme == 'https' and hasattr(ssl, 'create_default_context'):
|
||||
if not verify and parse.scheme == 'https' and (
|
||||
hasattr(ssl, 'create_default_context')):
|
||||
ctx = ssl.create_default_context()
|
||||
ctx.check_hostname = False
|
||||
ctx.verify_mode = ssl.CERT_NONE
|
||||
|
|
Loading…
Reference in New Issue