summaryrefslogtreecommitdiff
path: root/searx/engines/__init__.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-03-08 13:59:50 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-03-08 13:59:50 +0100
commit2be94c2078ccbeb1e69bbd54eec76e10cce00467 (patch)
treed7309a287dc70cb9ba3c63f8e0440d15e9ef1973 /searx/engines/__init__.py
parentad690fd9192b40a0195049585139e36bd4284ffe (diff)
downloadsearxng-2be94c2078ccbeb1e69bbd54eec76e10cce00467.tar.gz
searxng-2be94c2078ccbeb1e69bbd54eec76e10cce00467.zip
[enh] engine default category init
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r--searx/engines/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index 61d388627..72e537423 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -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