forked from Ponysearch/Ponysearch
[fix] pep8
This commit is contained in:
parent
a7260ac497
commit
21c5fb1c45
2 changed files with 2 additions and 2 deletions
|
@ -258,4 +258,4 @@ class ResultContainer(object):
|
||||||
resultnum_sum = sum(self._number_of_results)
|
resultnum_sum = sum(self._number_of_results)
|
||||||
if not resultnum_sum or not self._number_of_results:
|
if not resultnum_sum or not self._number_of_results:
|
||||||
return 0
|
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())
|
plugins.call('post_search', request, locals())
|
||||||
|
|
||||||
results = search.result_container.get_ordered_results()
|
results = search.result_container.get_ordered_results()
|
||||||
|
|
||||||
for result in results:
|
for result in results:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue