From 90f996ac903864ad67d851d1c55dd18e484d28eb Mon Sep 17 00:00:00 2001 From: Dustin Steiner Date: Tue, 31 Jan 2023 10:16:44 +0000 Subject: [PATCH] chore: multi line comment for linter --- bookwyrm/views/books/series.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookwyrm/views/books/series.py b/bookwyrm/views/books/series.py index 23ec924a5..ad9b08667 100644 --- a/bookwyrm/views/books/series.py +++ b/bookwyrm/views/books/series.py @@ -22,7 +22,8 @@ class BookSeriesBy(View): results = models.Edition.objects.filter(authors=author, series=series_name) - # when there are multiple editions of the same work, pick the one with a series number or closest + # when there are multiple editions of the same work + # pick the one with a series number or closest work_ids = results.values_list("parent_work__id", flat=True).distinct() # filter out multiple editions of the same work