From 3d3e9da8007702d2e4a09d1c8f10d5ddf63a8d13 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 8 Jul 2018 12:43:34 +0200 Subject: [PATCH] Bugfix collection parsing --- activitypub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.py b/activitypub.py index 355d1f9..b30a98c 100644 --- a/activitypub.py +++ b/activitypub.py @@ -105,7 +105,7 @@ class MicroblogPubBackend(Backend): self.save(Box.OUTBOX, activity) def parse_collection( - payload: Optional[Dict[str, Any]] = None, url: Optional[str] = None + self, payload: Optional[Dict[str, Any]] = None, url: Optional[str] = None ) -> List[str]: """Resolve/fetch a `Collection`/`OrderedCollection`.""" # Resolve internal collections via MongoDB directly