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:
parent
f3014f029b
commit
4492f6685c
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue