diff options
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 49580911d..347ee969d 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -250,8 +250,9 @@ def list_engines(): List of all supported engines. """ - global categories - return render('engines.html', categs=categories.items()) + return render('engines.html', + categs=categories.items(), + shortcuts={y:x for x,y in engine_shortcuts.items()}) @app.route('/preferences', methods=['GET', 'POST']) |