diff --git a/searx/webapp.py b/searx/webapp.py index 74f8fad7e..18dc89a39 100644 --- 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__,