mirror of https://github.com/searxng/searxng.git
[enh] engine default category init
This commit is contained in:
parent
ad690fd919
commit
2be94c2078
|
@ -71,6 +71,9 @@ for engine_data in settings['engines']:
|
||||||
if not hasattr(engine, 'paging'):
|
if not hasattr(engine, 'paging'):
|
||||||
engine.paging = False
|
engine.paging = False
|
||||||
|
|
||||||
|
if not hasattr(engine, 'categories'):
|
||||||
|
engine.categories = ['general']
|
||||||
|
|
||||||
if not hasattr(engine, 'language_support'):
|
if not hasattr(engine, 'language_support'):
|
||||||
#engine.language_support = False
|
#engine.language_support = False
|
||||||
engine.language_support = True
|
engine.language_support = True
|
||||||
|
|
Loading…
Reference in New Issue