From 4492f6685c74430f56c32356e90de815c4bfc4cb Mon Sep 17 00:00:00 2001 From: io Date: Mon, 27 Sep 2021 11:10:36 +0000 Subject: [PATCH] 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 --- fetch_posts.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fetch_posts.py b/fetch_posts.py index 611604d..784d753 100755 --- a/fetch_posts.py +++ b/fetch_posts.py @@ -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)