diff options
author | renyhp <renyhp@disroot.org> | 2020-11-26 17:26:19 +0100 |
---|---|---|
committer | renyhp <renyhp@disroot.org> | 2020-11-26 17:26:19 +0100 |
commit | 0323606691788ed1fc59c1a825586633f0643e3b (patch) | |
tree | ff09b2762fb8aa35d51dd9e4308a536f1762e43a /searx/webapp.py | |
parent | 844ae0b31084bea7559cb469edc0e425983886ba (diff) | |
download | searxng-0323606691788ed1fc59c1a825586633f0643e3b.tar.gz searxng-0323606691788ed1fc59c1a825586633f0643e3b.zip |
Remove unused lines
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 5eb6110e6..c43074fd9 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -611,12 +611,6 @@ def search(): if result_container.redirect_url: return redirect(result_container.redirect_url) - # UI - # 'q' in request.from, possible value from request.form.get('advanced_search'): - # * 'on': the checkbox is checked - # * None: the checkbox is unchecked or request is sent from opensearch.xml - advanced_search = request.form.get('advanced_search') - # Server-Timing header request.timings = result_container.get_timings() @@ -725,7 +719,6 @@ def search(): pageno=search_query.pageno, time_range=search_query.time_range, number_of_results=format_decimal(number_of_results), - advanced_search=advanced_search, suggestions=suggestion_urls, answers=result_container.answers, corrections=correction_urls, |