[fix] opensearch autocomplete

This commit is contained in:
Adam Tauber 2014-03-29 16:40:43 +01:00
parent 52a817f5c1
commit 879bac8adb
2 changed files with 3 additions and 6 deletions

View file

@ -350,7 +350,6 @@ def preferences():
return resp
return render('preferences.html',
client=settings.get('client', None),
locales=settings['locales'],
current_locale=get_locale(),
current_language=lang or 'all',
@ -369,7 +368,6 @@ def stats():
return render(
'stats.html',
stats=stats,
client=settings.get('client', None)
)
@ -392,8 +390,7 @@ def opensearch():
ret = render('opensearch.xml',
method=method,
host=get_base_url(),
client=settings['client'])
host=get_base_url())
resp = Response(response=ret,
status=200,