From ebec80f1988ddc97d99fe649c959e970a9549d35 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 7 Aug 2024 11:56:13 +0300 Subject: [PATCH] =?UTF-8?q?precache-=D0=B0ix2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cache/precache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/precache.py b/cache/precache.py index b033f829..b9c629ed 100644 --- a/cache/precache.py +++ b/cache/precache.py @@ -87,7 +87,7 @@ async def precache_data(): topic_dict = topic.dict() if hasattr(topic, "dict") else topic await cache_topic(topic_dict) await asyncio.gather( - precache_topics_followers(topic["id"], session), precache_topics_authors(topic_dict["id"], session) + precache_topics_followers(topic_dict["id"], session), precache_topics_authors(topic_dict["id"], session) ) logger.info(f"{len(topics)} topics and their followings precached")