Python formatting

This commit is contained in:
Mouse Reeve 2021-08-17 12:04:14 -07:00
parent b178ba6326
commit 32d4ae1f4e

View file

@ -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)