1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-17 18:00:12 +01:00

[fix] default template handling

This commit is contained in:
Adam Tauber 2014-10-09 19:26:02 +02:00
parent c58e5a236a
commit 4da795895d

View File

@ -55,8 +55,8 @@ static_path, templates_path, themes =\
get_themes(settings['themes_path'] get_themes(settings['themes_path']
if settings.get('themes_path') if settings.get('themes_path')
else searx_dir) 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( app = Flask(
__name__, __name__,