diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-26 06:49:58 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-27 22:17:16 +0100 |
commit | 506169f312735301c1eb3ca8d10dd715298087b3 (patch) | |
tree | 0d58f881d64906b7e003964dcf83d67ee974eb32 /searx | |
parent | b767752d0cdefb6c5f41350c15fcdb50f34d2bfa (diff) | |
download | searxng-506169f312735301c1eb3ca8d10dd715298087b3.tar.gz searxng-506169f312735301c1eb3ca8d10dd715298087b3.zip |
[pyright] remove no longer needed assertion
The pyright bug[1] for which the assertion was added has been fixed.
[1]: https://github.com/microsoft/pyright/issues/2930
Diffstat (limited to 'searx')
-rwxr-xr-x | searx/webapp.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 6bb358d3c..2e6e388e5 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: |