From e84a07430c3179722370df205167b4b41ae53ec4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 2 Apr 2021 07:11:35 -0700 Subject: [PATCH] Fixes books get started view error --- bookwyrm/views/get_started.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/get_started.py b/bookwyrm/views/get_started.py index e64333df..9d7600ee 100644 --- a/bookwyrm/views/get_started.py +++ b/bookwyrm/views/get_started.py @@ -53,7 +53,7 @@ class GetStartedBooks(View): def get(self, request): """ info about a book """ query = request.GET.get("query") - book_results = [] + book_results = popular_books = [] if query: book_results = connector_manager.local_search(query, raw=True)[:5] if len(book_results) < 5: