mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] check empty engine language attribute - fixes subtitleseeker
This commit is contained in:
parent
28493d41a3
commit
42ac2c5b56
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user