diff --git a/package.json b/package.json index e65e0585..b4c06152 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "dependencies": { "eslint": "^8.7.0", - "pyright": "^1.1.212" + "pyright": "^1.1.215" } } diff --git a/searx/webapp.py b/searx/webapp.py index 6bb358d3..2e6e388e 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1147,8 +1147,6 @@ def image_proxy(): except httpx.HTTPError: logger.exception('HTTP error on closing') - assert resp is not None - def close_stream(): nonlocal resp, stream try: