forked from zaclys/searxng
[fix] pep8
This commit is contained in:
parent
a7260ac497
commit
21c5fb1c45
@ -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)
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user