From fbbb307f2e8086c88206b2f80ea7ed4ab5b80a66 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Thu, 7 Jul 2016 09:27:34 +0200 Subject: [PATCH] [enh] add engine shortcut to config api --- searx/webapp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/webapp.py b/searx/webapp.py index 0fb2a1dfe..2093bb0b4 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -693,6 +693,7 @@ def config(): return jsonify({'categories': categories.keys(), 'engines': [{'name': engine_name, 'categories': engine.categories, + 'shortcut': engine.shortcut, 'enabled': not engine.disabled} for engine_name, engine in engines.items()], 'plugins': [{'name': plugin.name,