summaryrefslogtreecommitdiff
path: root/searx/engines/__init__.py
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-10-27 14:55:47 +0100
committerasciimoo <asciimoo@gmail.com>2013-10-27 14:55:47 +0100
commit21e9c87305283ef7ebceb56e1d21e2e0400f916b (patch)
tree28b5b8bc8478cabd9346a1dc972ce42fb610dcd4 /searx/engines/__init__.py
parentf01e67dbd4a8205ac34996c658670d8e339c10b0 (diff)
downloadsearxng-21e9c87305283ef7ebceb56e1d21e2e0400f916b.tar.gz
searxng-21e9c87305283ef7ebceb56e1d21e2e0400f916b.zip
[mod] pageload stat order
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r--searx/engines/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index 371fa8fad..c732c2374 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -196,7 +196,7 @@ def get_engines_stats():
engine['percentage'] = int(engine['avg']/max_score*100)
- return [('Page loads (sec)', sorted(pageloads, key=itemgetter('avg'), reverse=True))
+ return [('Page loads (sec)', sorted(pageloads, key=itemgetter('avg')))
,('Number of results', sorted(results, key=itemgetter('avg'), reverse=True))
,('Scores', sorted(scores, key=itemgetter('avg'), reverse=True))
]