Formatting
This commit is contained in:
3
tasks.py
3
tasks.py
@@ -72,7 +72,8 @@ def cache_actor(self, iri: str, also_cache_attachments: bool = True) -> None:
|
||||
|
||||
# Cache the actor info
|
||||
DB.activities.update_one(
|
||||
{"remote_id": iri}, {"$set": {"meta.actor": activitypub._actor_to_meta(actor)}}
|
||||
{"remote_id": iri},
|
||||
{"$set": {"meta.actor": activitypub._actor_to_meta(actor)}},
|
||||
)
|
||||
|
||||
log.info(f"actor cached for {iri}")
|
||||
|
Reference in New Issue
Block a user