Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[pylint] Pylint 2.10 - unused-variable

Markus Heiser03e7d423be2e
diff --git a/searx/network/__init__.py b/searx/network/__init__.py
index 9e80a30a1..3dc99da48 100644
--- a/searx/network/__init__.py
+++ b/searx/network/__init__.py
@@ -172,7 +172,7 @@ async def stream_chunk_to_queue(network, queue, method, url, **kwargs):
async for chunk in response.aiter_raw(65536):
if len(chunk) > 0:
queue.put(chunk)
- except httpx.ResponseClosed as e:
+ except httpx.ResponseClosed:
# the response was closed
pass
except (httpx.HTTPError, OSError, h2.exceptions.ProtocolError) as e: