From 21c5fb1c4514444a7c4fdecd84874f2b7c367f38 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 17 Jul 2016 00:03:22 +0200 Subject: [PATCH] [fix] pep8 --- searx/results.py | 2 +- searx/webapp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/results.py b/searx/results.py index 8e74fb10f..c2c25b345 100644 --- 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 index e76dd7027..e9d27a0db 100644 --- 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: