logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 42ac2c5b56607a8d061063e77d39b2d467ad9f9c
parent: 28493d41a327128762c6286a625d219e4b0b4e2e
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Tue, 25 Aug 2015 22:02:18 +0200

[fix] check empty engine language attribute - fixes subtitleseeker

Diffstat:

Msearx/search.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/search.py b/searx/search.py @@ -478,7 +478,7 @@ class Search(object): request_params['started'] = time() request_params['pageno'] = self.pageno - if hasattr(engine, 'language'): + if hasattr(engine, 'language') and engine.language: request_params['language'] = engine.language else: request_params['language'] = self.lang