forked from Ponysearch/Ponysearch
[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