test: Fix lint
This commit is contained in:
parent
af876fa166
commit
7735c9733a
@ -379,7 +379,6 @@ class HttpHandler(BaseHTTPRequestHandler):
|
|||||||
swap_client = self.server.swap_client
|
swap_client = self.server.swap_client
|
||||||
swap_client.checkSystemStatus()
|
swap_client.checkSystemStatus()
|
||||||
summary = swap_client.getSummary()
|
summary = swap_client.getSummary()
|
||||||
|
|
||||||
template = env.get_template('index.html')
|
template = env.get_template('index.html')
|
||||||
return self.render_template(template, {
|
return self.render_template(template, {
|
||||||
'refresh': 30,
|
'refresh': 30,
|
||||||
@ -387,7 +386,6 @@ class HttpHandler(BaseHTTPRequestHandler):
|
|||||||
'use_tor_proxy': swap_client.use_tor_proxy
|
'use_tor_proxy': swap_client.use_tor_proxy
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
def page_404(self, url_split):
|
def page_404(self, url_split):
|
||||||
swap_client = self.server.swap_client
|
swap_client = self.server.swap_client
|
||||||
summary = swap_client.getSummary()
|
summary = swap_client.getSummary()
|
||||||
|
Loading…
Reference in New Issue
Block a user