mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 19:31:00 +00:00
[fix] check empty engine language attribute - fixes subtitleseeker
This commit is contained in:
parent
28493d41a3
commit
42ac2c5b56
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue