test: Fix lint

This commit is contained in:
gerlofvanek 2023-08-02 17:43:54 +02:00
parent af876fa166
commit 7735c9733a

View file

@ -379,7 +379,6 @@ class HttpHandler(BaseHTTPRequestHandler):
swap_client = self.server.swap_client
swap_client.checkSystemStatus()
summary = swap_client.getSummary()
template = env.get_template('index.html')
return self.render_template(template, {
'refresh': 30,
@ -387,7 +386,6 @@ class HttpHandler(BaseHTTPRequestHandler):
'use_tor_proxy': swap_client.use_tor_proxy
})
def page_404(self, url_split):
swap_client = self.server.swap_client
summary = swap_client.getSummary()