From 45adac04512adbe101c4e752ad9312f8e2513018 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 14 Apr 2019 20:16:21 +0200 Subject: [PATCH] Fix formatting --- activitypub.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/activitypub.py b/activitypub.py index 2a42839..d6c122d 100644 --- a/activitypub.py +++ b/activitypub.py @@ -429,8 +429,7 @@ class MicroblogPubBackend(Backend): _set["meta.question_replies"] = total_replies DB.activities.update_one( - {"box": Box.INBOX.value, "activity.object.id": obj.id}, - {"$set": _set}, + {"box": Box.INBOX.value, "activity.object.id": obj.id}, {"$set": _set} ) # FIXME(tsileo): handle update actor amd inbox_update_note/inbox_update_actor