diff options
author | asciimoo <asciimoo@gmail.com> | 2014-02-11 13:13:51 +0100 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2014-02-11 13:13:51 +0100 |
commit | c1d7d30b8ec2950a6338f0b99ebe9bdc094fdb73 (patch) | |
tree | bc2a38ccacc7d94721ab4b3942d83617ef3662f6 /searx/engines/json_engine.py | |
parent | 239299d45ec7698e45451b617f2ef52bfb2c2e88 (diff) | |
download | searxng-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.py | 2 |
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] |