diff --git a/BaseSearcher.py b/BaseSearcher.py index d04451e..9dbe865 100644 --- a/BaseSearcher.py +++ b/BaseSearcher.py @@ -491,7 +491,6 @@ class OpenSearch(object): lang = self.lang_to_default_locale.get(lang, 'en_US') lang2 = self.lang[:2] - self.fb_lang = lang if lang in FB_LANGS else 'en_US' self.paypal_lang = lang if lang in PAYPAL_LANGS else 'en_US' self.flattr_lang = lang if lang in FLATTR_LANGS else 'en_US' @@ -553,7 +552,6 @@ class OpenSearch(object): self.show_next_page_link = (self.end_index < self.total_results) self.desktop_search = self.url('search', format = None) - self.json_search = self.url('suggest', format = None) self.base_url = self.url(host = self.file_host, protocol='https') diff --git a/templates/error.html b/templates/error.html index f708caa..bf4e5ef 100644 --- a/templates/error.html +++ b/templates/error.html @@ -24,10 +24,8 @@