From 32d4ae1f4e8fbd095b86e4fd23c455f44d7d4615 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 17 Aug 2021 12:04:14 -0700 Subject: [PATCH] Python formatting --- bookwyrm/views/editions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bookwyrm/views/editions.py b/bookwyrm/views/editions.py index 8f59d2fe1..7615c497c 100644 --- a/bookwyrm/views/editions.py +++ b/bookwyrm/views/editions.py @@ -35,9 +35,7 @@ class Editions(View): filters["physical_format__iexact"] = request.GET.get("format") editions = work.editions.order_by("-edition_rank") - languages = set( - sum(editions.values_list("languages", flat=True), []) - ) + languages = set(sum(editions.values_list("languages", flat=True), [])) editions = editions.filter(**filters)