1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[fix] pep8

This commit is contained in:
Adam Tauber 2016-07-17 00:03:22 +02:00
parent a7260ac497
commit 21c5fb1c45
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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: