mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix linting in the tls script'
This commit is contained in:
@@ -21,8 +21,9 @@ def check_tls(verbose):
|
||||
)
|
||||
|
||||
port = process.stdout.readline()
|
||||
localhost_url = 'https://localhost:' + port
|
||||
|
||||
response = json.load(urllib2.urlopen('https://localhost:' + port, context=ctx))
|
||||
response = json.load(urllib2.urlopen(localhost_url, context=ctx))
|
||||
tls = response['protocol']
|
||||
process.wait()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user