From a4391f35c1be64a229bd63d17cea0c831d8562ef Mon Sep 17 00:00:00 2001 From: Vivianne Langdon Date: Fri, 11 Mar 2022 22:31:40 -0800 Subject: [PATCH] black --- bookwyrm/views/books/books.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bookwyrm/views/books/books.py b/bookwyrm/views/books/books.py index 4b813459c..07ad05172 100644 --- a/bookwyrm/views/books/books.py +++ b/bookwyrm/views/books/books.py @@ -50,7 +50,9 @@ class Book(View): if not book or not book.parent_work: raise Http404() - if redirect_local_path := not user_statuses and maybe_redirect_local_path(request, book): + if redirect_local_path := not user_statuses and maybe_redirect_local_path( + request, book + ): return redirect_local_path # all reviews for all editions of the book