commit: 21c5fb1c4514444a7c4fdecd84874f2b7c367f38
parent: a7260ac497c87ea959d467dbfcb0cd0a8169bfa7
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sun, 17 Jul 2016 00:03:22 +0200
[fix] pep8
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/searx/results.py b/searx/results.py
@@ -258,4 +258,4 @@ class ResultContainer(object):
resultnum_sum = sum(self._number_of_results)
if not resultnum_sum or not self._number_of_results:
return 0
- return resultnum_sum / len(self._number_of_results)
+ return resultnum_sum / len(self._number_of_results)
diff --git a/searx/webapp.py b/searx/webapp.py
@@ -380,7 +380,7 @@ def index():
plugins.call('post_search', request, locals())
- results = search.result_container.get_ordered_results()
+ results = search.result_container.get_ordered_results()
for result in results: