From 63e284dc4114331549337fcd33994d987f0938ac Mon Sep 17 00:00:00 2001 From: Joachim Date: Mon, 22 Nov 2021 18:59:46 +0100 Subject: [PATCH] Forgive me pylint --- bookwyrm/views/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/feed.py b/bookwyrm/views/feed.py index 0002448e4..3ac3f5914 100644 --- a/bookwyrm/views/feed.py +++ b/bookwyrm/views/feed.py @@ -255,10 +255,10 @@ def get_suggested_books(user, max_books=5): def filter_stream_by_status_type(activities, allowed_types=None): + """filter out activities based on types""" if not allowed_types: allowed_types = [] - """filter out activities based on types""" if "review" not in allowed_types: activities = activities.filter(Q(review__isnull=True)) if "comment" not in allowed_types: