summaryrefslogtreecommitdiff
path: root/searx/results.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-16 09:43:23 +0100
committerAlexandre Flament <alex@al-f.net>2020-12-01 15:21:19 +0100
commitb00d108673082fc2487b2d122db00d988f561427 (patch)
tree51b5324935f24864730d705efd9f4f6a9dea465f /searx/results.py
parent9ed3ee2bebf2f159d4231d9aad9df53aea6db90a (diff)
downloadsearxng-b00d108673082fc2487b2d122db00d988f561427.tar.gz
searxng-b00d108673082fc2487b2d122db00d988f561427.zip
[mod] pylint: numerous minor code fixes
Diffstat (limited to 'searx/results.py')
-rw-r--r--searx/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/results.py b/searx/results.py
index e0bbe3358..46f44e1ad 100644
--- a/searx/results.py
+++ b/searx/results.py
@@ -298,7 +298,7 @@ class ResultContainer:
gresults = []
categoryPositions = {}
- for i, res in enumerate(results):
+ for res in results:
# FIXME : handle more than one category per engine
res['category'] = engines[res['engine']].categories[0]