mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-18 14:16:45 +00:00
Python formatting
This commit is contained in:
parent
b178ba6326
commit
32d4ae1f4e
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue