logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 4da795895d3699e0c185a344806d60b40027cc4f
parent: c58e5a236ae56b7e0c66c39f2234627234cf562b
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Thu,  9 Oct 2014 19:26:02 +0200

[fix] default template handling

Diffstat:

searx/webapp.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/searx/webapp.py b/searx/webapp.py @@ -55,8 +55,8 @@ static_path, templates_path, themes =\ get_themes(settings['themes_path'] if settings.get('themes_path') else searx_dir) -default_theme = settings['default_theme'] if \ - settings.get('default_theme', None) else 'default' + +default_theme = settings['server'].get('default_theme', 'default') app = Flask( __name__,