Remove unnecessary intermediate variable view.

This commit is contained in:
voussoir 2020-09-09 13:15:21 -07:00
parent 71e87f83f7
commit 199a4af658

View file

@ -422,8 +422,7 @@ def get_search_core():
else: else:
prev_page_url = None prev_page_url = None
view = request.args.get('view', 'grid') search_kwargs['view'] = request.args.get('view', 'grid')
search_kwargs['view'] = view
final_results = { final_results = {
'next_page_url': next_page_url, 'next_page_url': next_page_url,