mirror of
https://github.com/searxng/searxng.git
synced 2024-12-20 16:26:33 +00:00
[enh] engine default category init
This commit is contained in:
parent
ad690fd919
commit
2be94c2078
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ for engine_data in settings['engines']:
|
|||
if not hasattr(engine, 'paging'):
|
||||
engine.paging = False
|
||||
|
||||
if not hasattr(engine, 'categories'):
|
||||
engine.categories = ['general']
|
||||
|
||||
if not hasattr(engine, 'language_support'):
|
||||
#engine.language_support = False
|
||||
engine.language_support = True
|
||||
|
|
Loading…
Reference in a new issue