remove repeated call to extract_post_content (#2)

fortunately, extract_post_content returns the same thing when called repeatedly,
so this wasn't a big deal anyway
This commit is contained in:
io 2021-09-27 11:10:36 +00:00
parent f3014f029b
commit 4492f6685c

View file

@ -137,7 +137,6 @@ class PostFetcher:
obj = activity['object']
content = extract_post_content(obj['content'])
await self._db.execute(
"""
INSERT INTO posts (post_id, summary, content, published_at)