Formatting

This commit is contained in:
Thomas Sileo
2018-07-21 01:05:51 +02:00
parent ad355df6c5
commit ea6be0ed8e
5 changed files with 9 additions and 4 deletions

View File

@@ -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}")