summaryrefslogtreecommitdiff
path: root/searx/engines/json_engine.py
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-02-11 13:13:51 +0100
committerasciimoo <asciimoo@gmail.com>2014-02-11 13:13:51 +0100
commitc1d7d30b8ec2950a6338f0b99ebe9bdc094fdb73 (patch)
treebc2a38ccacc7d94721ab4b3942d83617ef3662f6 /searx/engines/json_engine.py
parent239299d45ec7698e45451b617f2ef52bfb2c2e88 (diff)
downloadsearxng-c1d7d30b8ec2950a6338f0b99ebe9bdc094fdb73.tar.gz
searxng-c1d7d30b8ec2950a6338f0b99ebe9bdc094fdb73.zip
[mod] len() removed from conditions
Diffstat (limited to 'searx/engines/json_engine.py')
-rw-r--r--searx/engines/json_engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/json_engine.py b/searx/engines/json_engine.py
index e7cc808bb..708b999f8 100644
--- a/searx/engines/json_engine.py
+++ b/searx/engines/json_engine.py
@@ -39,7 +39,7 @@ def parse(query):
def do_query(data, q):
ret = []
- if not len(q):
+ if not q:
return ret
qkey = q[0]