Skip to content

Commit 26c69a2

Browse files
committed
Fix pep8
1 parent 2ecc461 commit 26c69a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kivy/network/urlrequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ def _fetch_url(http://github.com/self,%20url,%20body,%20headers,%20q):
272272
ctx.verify_mode = ssl.CERT_REQUIRED
273273
args['context'] = ctx
274274

275-
if not verify and parse.scheme == 'https' and hasattr(ssl, 'create_default_context'):
275+
if not verify and parse.scheme == 'https' and (
276+
hasattr(ssl, 'create_default_context')):
276277
ctx = ssl.create_default_context()
277278
ctx.check_hostname = False
278279
ctx.verify_mode = ssl.CERT_NONE

0 commit comments

Comments
 (0)