diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-08-31 09:08:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-31 09:08:59 +0000 |
| commit | 1e942435be5f8dbf30be7296466ca674b69b7c70 (patch) | |
| tree | 423e1a594ac884970a9d68c3520a2d9052ed11a8 /searx/network/__init__.py | |
| parent | 449458922722c1679de2b6dce902440e94a6b383 (diff) | |
| parent | a1adc46fc886aeb41be152583dc4bbfdae7706d4 (diff) | |
Merge pull request #273 from searxng/dependabot/pip/master/pylint-2.10.2
Bump pylint from 2.9.6 to 2.10.2
Diffstat (limited to 'searx/network/__init__.py')
| -rw-r--r-- | searx/network/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |