flake8 fixes
This commit is contained in:
parent
fe864f6dce
commit
b33c7533df
|
@ -448,7 +448,7 @@ class SpeedtestHTTPSHandler(AbstractHTTPHandler):
|
||||||
_build_connection(
|
_build_connection(
|
||||||
SpeedtestHTTPSConnection,
|
SpeedtestHTTPSConnection,
|
||||||
self.source_address,
|
self.source_address,
|
||||||
timeout,
|
self.timeout,
|
||||||
context=self._context,
|
context=self._context,
|
||||||
),
|
),
|
||||||
req
|
req
|
||||||
|
@ -840,7 +840,7 @@ class SpeedtestResults(object):
|
||||||
request = build_request('://www.speedtest.net/api/api.php',
|
request = build_request('://www.speedtest.net/api/api.php',
|
||||||
data='&'.join(api_data).encode(),
|
data='&'.join(api_data).encode(),
|
||||||
headers=headers)
|
headers=headers)
|
||||||
f, e = catch_request(request, opener=_self.opener)
|
f, e = catch_request(request, opener=self._opener)
|
||||||
if e:
|
if e:
|
||||||
raise ShareResultsConnectFailure(e)
|
raise ShareResultsConnectFailure(e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue