From b9514ec81fa20c35b20417a4b5e0f20d391f511f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 3 Apr 2021 11:11:29 -0700 Subject: [PATCH] Python formatting --- bookwyrm/activitystreams.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bookwyrm/activitystreams.py b/bookwyrm/activitystreams.py index 689d396be..d9236ec9a 100644 --- a/bookwyrm/activitystreams.py +++ b/bookwyrm/activitystreams.py @@ -57,7 +57,9 @@ class ActivityStream(ABC): for status in statuses: pipeline.zadd(self.stream_id(viewer), self.get_value(status)) if statuses: - pipeline.zremrangebyrank(self.stream_id(user), settings.MAX_STREAM_LENGTH, -1) + pipeline.zremrangebyrank( + self.stream_id(user), settings.MAX_STREAM_LENGTH, -1 + ) pipeline.execute() def remove_user_statuses(self, viewer, user):