diff options
author | Adam Tauber <asciimoo@gmail.com> | 2014-10-09 19:26:02 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2014-10-09 19:26:02 +0200 |
commit | 4da795895d3699e0c185a344806d60b40027cc4f (patch) | |
tree | 3161ec5a6e74a3fd7f2c6f1971baa47e272ac4a4 /searx/webapp.py | |
parent | c58e5a236ae56b7e0c66c39f2234627234cf562b (diff) | |
download | searxng-4da795895d3699e0c185a344806d60b40027cc4f.tar.gz searxng-4da795895d3699e0c185a344806d60b40027cc4f.zip |
[fix] default template handling
Diffstat (limited to 'searx/webapp.py')
-rw-r--r-- | searx/webapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
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__, |