forked from mirrors/bookwyrm
Python formatting
This commit is contained in:
parent
c42be7a589
commit
bb50bd8121
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ class Search(View):
|
|||
results = endpoints[search_type](
|
||||
query, request.user, min_confidence, search_remote
|
||||
)
|
||||
paginated = Paginator(results, PAGE_LENGTH).get_page(request.GET.get("page"))
|
||||
paginated = Paginator(results, PAGE_LENGTH).get_page(
|
||||
request.GET.get("page")
|
||||
)
|
||||
data["results"] = paginated
|
||||
|
||||
return TemplateResponse(request, "search/{:s}.html".format(search_type), data)
|
||||
|
|
Loading…
Reference in a new issue